Lightning-fast text search with advanced pattern matching and intuitive output formatting. Find what you need, when you need it.
$ ninjagrep "TODO" src/
src/main.rs:45: // TODO: Implement error handling
src/utils.rs:12: // TODO: Add logging
$ ninjagrep -i "error" logs/ --count
Total matches: 1,247
Files matched: 89
Search at ninja speed with advanced capabilities
Search millions of lines in seconds using optimized algorithms and multi-threaded processing built on Rust's performance.
Full support for regular expressions with pattern matching, capture groups, and lookarounds for complex searches.
Easy case-insensitive searching with a single flag. Find matches regardless of casing without complex patterns.
Get quick statistics on matches per file with count mode. Perfect for understanding search result volume at a glance.
Exclude files and directories with powerful filters. Skip node_modules, .git, and other directories automatically.
Formatted, readable output with file paths, line numbers, and highlighting. Easy to read and parse programmatically.
Intuitive commands for powerful searches
$ ninjagrep "function" src/
$ ninjagrep -i "error" logs/
$ ninjagrep "TODO" --count
$ ninjagrep "fn\s+\w+" src/ --regex
Get ninjagrep and find what you're looking for in seconds.
More Tools
Fast line/word/character counter
Cross-platform path finder
Blazing-fast text search (this page)
Smart build artifact cleanup