ugrep

Ultra fast grep with interactive query TUI, Boolean search, fuzzy search, and more: search file systems, Unicode text files (UTF-8/16/32), binary files to view hexdumps, source code, (nested) 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:

ugrepGNU
grep
BSD
grep
Open source licenseBSDGPLBSD
ultra fast search with avx/sse2, threads, etc.yesnono
support fast indexed-based searchyesnono
interactive search query TUIyesnono
Boolean search queries with AND, OR, NOTyesnono
fuzzy (approximate) searchyesnono
Unicode text search (UTF-8, UTF-16, UTF-32)yesnono
file encodings ISO-8859-1 to 16, CP850, KOI8, etc.yesnono
search files by file types, e.g. scripts and source codeyesnono
search files while ignoring files specified in .gitignoreyesnono
search files stored in cpio, tar, pax, and zip archivesyesnono
search compressed files (.zip, .gz, .Z, .bz, .bz2, .xz, .lzma, .lz4, .zstd)yesno.gz
search documents (pdf, doc, docx, etc.) using filtersyesnono
search binary files and output hexdumps for matchesyesnono
search files by filename extensions and magic bytesyesnono
custom output options (CSV, JSON, XML)yesnono
user-specified custom output formattingyesnono
sort output by file name, size, and time used/changed/createdyesnono
gitignore-style globs to select files to searchyesnono
match patterns across newlinesyesnono
skip unwanted matches with negative patternsyesnono
match replacementyesnono
predefined patterns to quickly search source codeyesnono

User Guide

To view the user guide and to install ugrep, please visit ugrep.com

Connect
Genivia Inc on LinkedIn Connect
Relentlessly
Pursuing
Perfection