bat
A `cat` command clone with syntax highlighting, Git integration, and more.
FreeRatings on review sites
No rating from review sites on file.
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?
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
| Plan | Price | Details |
|---|---|---|
| Open Source | Free |
+1 more Show less
|
Is bat worth the price?
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.
Email me if bat changes or adds a paid plan
Reviews

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.
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 pageBest bat Alternatives
Top alternatives based on features, pricing, and user needs.
bat by the numbers
| 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.
Still deciding?
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?
Which teams would benefit most from using bat?
How is bat different from a tool like exa?
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?
cat command. Customization requires configuration, and it is a large binary with a Rust dependency.Does bat include a free tier?
Can bat be integrated with other command-line utilities?
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?
Source: github.com