ugrep
Ultra fast grep with interactive query UI and fuzzy search: search file systems, text, binary files, source code, archives (cpio/tar/pax/zip), compressed files (zip/gz/Z/bz2/xz/lzma/lz4/zstd), documents and more. Search for anything in everything... fast!
Spontaneous compliments and kudos
"Ugrep belongs on every computer. It replaces and complements the standard commands quite excellently, and anyone who has to deal with text searches should familiarize themselves with it. The incremental search alone is so useful that it more than justifies the minimal training time."
- Linux Magazine April 2021
"Impressive work! And thanks for an amazing writeup, again! This is already my go to search-tool, and it just keeps on getting better. Well done." -RuneBergh on GitHub
"ugrep is fantastic!!!! kudos!!!!" -paoloschi on GitHub
"Many thanks for your prompt help. And congratulations on an impressively-featured utility." -ISO8807 on GitHub
"ugrep is by far the fastest grep for searching compressed logs now. Impressive." -RuneBergh on GitHub
"Thank you for the amazing tool!" -shmidt on GitHub
What is ugrep?
Ugrep is a high-performance file system search utility. Not only is ugrep ultra fast, ugrep has much more to offer than GNU/BSD grep and other grep-like utilities:
ugrep | GNU grep | BSD grep | |
Open source license | BSD | GPL | BSD |
Ultra fast search with avx/sse2, threads, and more | yes | no | no |
Interactive search query TUI | yes | no | no |
Fuzzy (approximate) search | yes | no | no |
Boolean search queries with AND, OR, NOT | yes | no | no |
Unicode text search (UTF-8, UTF-16, UTF-32) | yes | no | no |
File encodings ISO-8859-1 to 16, CP850, KOI8, etc. | yes | no | no |
Search files by file types, e.g. scripts and source code | yes | no | no |
Search files while ignoring files specified in .gitignore | yes | no | no |
Search files stored in cpio, tar, pax, and zip archives | yes | no | no |
Search compressed files (.zip, .gz, .Z, .bz, .bz2, .xz, .lzma, .lz4, .zstd) | yes | no | .gz |
Search documents (pdf, doc, docx, etc.) using filters | yes | no | no |
Search binary files and output hexdumps for matches | yes | no | no |
Search files by filename extensions and magic bytes | yes | no | no |
Predefined patterns to quickly search source code | yes | no | no |
Custom output options (CSV, JSON, XML) | yes | no | no |
User-specified custom output formatting | yes | no | no |
Sort output by file name, size, and time used/changed/created | yes | no | no |
Use gitignore-style globs to select files to search | yes | no | no |
Match patterns across newlines | yes | no | no |
Skip unwanted matches with negative patterns | yes | no | no |
Match replacement with backreferences | yes | no | no |
User Guide and Download Instructions
To view the user guide and the ugrep download instructions, please visit ugrep at GitHub.