Skip to content
bat logo

bat

A `cat` command clone with syntax highlighting, Git integration, and more.

Free

Toolradar Score

Not scored yet

What the Toolradar Score is

Ratings on review sites

No rating from review sites on file.

Toolradar reviews

No review yet

Reviews written on Toolradar.

Write the first review
Tracked since 2026

The Bottom Line

Best for
Command line users who want syntax highlighting and Git integration
Price
Free. Compare plans

Key facts

  • Modern `cat` replacement with syntax highlighting.
  • Integrates with Git to show file modifications.
  • Features automatic paging and can be combined with other CLI tools.

Pros

  • Better cat command
  • Syntax highlighting
  • Git integration
  • Fast performance
  • Good defaults

Cons

  • Learning new tool
  • Different from cat
  • Config for customization
  • Large binary
  • Rust dependency

What is bat?

bat is a command-line utility that acts as a modern replacement for the standard `cat` command. It enhances the display of file contents by adding features like syntax highlighting for a wide range of programming and markup languages, and integration with Git to show file modifications. It also includes automatic paging for large files, the ability to show non-printable characters, and seamless concatenation of multiple files. Designed for developers and anyone who frequently views text files in the terminal, bat improves readability and provides useful context. It can be easily integrated with other command-line tools like `fzf`, `find`, `fd`, `ripgrep`, `tail -f`, and `git diff`, making it a versatile addition to any terminal workflow. Its intelligent behavior allows it to act as a simple `cat` replacement when piping output, while offering advanced features for interactive viewing.

Available on: Linux, Windows, macOS

Key Features

  • Cat replacement
  • Syntax highlighting
  • Git integration
  • Line numbers
  • Theme support
  • Automatic paging

Pricing Plans

Pricing checked Oct 1, 2026. Source: github.com/sharkdp/bat, read Oct 1, 2026

bat plans and prices, checked October 2026
Plan Price Details
Open Source

Free

  • Full source code access
  • Apache License 2.0 license
  • Community support
+1 more
  • Self-hosted

Is bat worth the price?

Great value

The pricing for bat is exceptionally fair and generous, as it is entirely open-source and free.

There are no hidden costs or paid tiers, making it an outstanding value. This is best for developers and users who need an enhanced `cat` utility without any financial commitment.

Hidden Costs & Gotchas

No overage fees or seat minimums.

Full bat pricing: every plan, hidden costs and alternatives

Email me if bat changes or adds a paid plan

We email you if bat adds a paid plan or changes its pricing. We read its pricing page every week. One email per change, unsubscribe any time.

Have an account? Sign in and it is on in one click.

Reviews

Improve Your Thinking Patterns Using ChatGPT cover
$99 Free with your review

Write the first bat review, get a free AI guide

Share your experience and we will send you Improve Your Thinking Patterns Using ChatGPT, free.

Write the first review

Questions and feature requests

Ask about bat or say what is missing. Other users can answer; the company can once it claims this page.

This company has not claimed its page yet. Claim it to answer questions and collect feature requests.

Claim this page

Best bat Alternatives

Top alternatives based on features, pricing, and user needs.

bat by the numbers

bat compared with 171 Terminal Tools tools on Toolradar, as of Nov 2026
Metric bat Peer median Position (1 is best)
Free plan Yes 87% have one n/a
Listed as an alternative to 6 tools 1 #32 of 171 (joint)

Listed as an alternative to: #30 on 2026-10-16 to #32 on 2026-11-26 (rank among 171 tools, 1 is best).

Each position is counted among the tools that have data for that row, as noted under it. All Terminal Tools data · How we compute this. Advertising and placement fees are not inputs to any position.

Cite this: Toolradar, “bat by the numbers”, Nov 2026.

Most buyers shortlist 2 or 3 tools before committing. Pull a side-by-side comparison or browse the full alternatives shortlist below.

Explore More

bat FAQ

How does bat enhance the viewing of code and text files in the terminal?

bat improves file viewing by providing syntax highlighting for many programming and markup languages, and integrates with Git to display file modifications. It also includes automatic paging for large files, making it easier to navigate content.

Which teams would benefit most from using bat?

bat is designed for developers and anyone who frequently views text files in the terminal. It enhances readability and provides useful context, making it a valuable tool for programming and system administration tasks.

How is bat different from a tool like exa?

bat functions as a modern replacement for the cat command, focusing on enhancing the display of file contents with features like syntax highlighting and Git integration. In contrast, exa is typically used as a modern replacement for the ls command, focusing on listing directory contents with additional information and formatting.

What kind of trade-offs should users consider when adopting bat?

Users should be aware that bat is a new tool with a learning curve and behaves differently from the standard cat command. Customization requires configuration, and it is a large binary with a Rust dependency.

Does bat include a free tier?

bat is free to use, meaning there is no paid plan required to access its features. It is available for anyone to download and utilize without cost.

Can bat be integrated with other command-line utilities?

Yes, bat can be easily integrated with various command-line tools such as fzf, find, fd, ripgrep, tail -f, and git diff. This allows it to fit seamlessly into existing terminal workflows and enhance their functionality.

Does bat have a promo code or discount code?

As of October 1, 2026, Toolradar has no bat promo code, coupon or discount code on file. bat's own pricing page (https://github.com/sharkdp/bat, read October 1, 2026) does list a free plan, so you can start without a code. Offers change, so confirm the terms at checkout.

Source: github.com

Guides & Articles