ugrep

ugrep searches files by pattern as a compatible grep replacement, with interactive and fuzzy search modes listed in its documentation.

ugrep.com
ugrep homepage screenshot

About ugrep

ugrep is a file pattern searcher that works as a compatible grep replacement with ug and ugrep commands. ug supports an optional .ugrep configuration file for preferences, while ugrep does not use defaults and is intended for shell scripts.

It provides an interactive query TUI, fuzzy search and logic patterns, search of nested archives and compressed files, binary search with hexdump, and output in JSON, XML, CSV or custom formats. It installs through package managers on macOS, Windows, Linux, BSD variants and Android Termux, or can be built from source.

Key features

  • Interactive TUI to enter patterns and list matching files
  • Fuzzy search and logic patterns using AND/OR/NOT
  • Search nested zip, tar, and compressed file formats
  • Search and hexdump binary files and devices
  • Output matches as JSON, XML, CSV or custom format
  • Unicode extended regex, PCRE, and multi-line matching
Best for: People who search file contents from the command line and need archive, binary, and structured output handling.
Good for
  • Available for macOS, Windows, Linux, BSD variants, and Android Termux
  • Searches nested archives, compressed files, and binary files with hexdump
  • Outputs results in JSON, XML, CSV, or custom formats

ugrep at a glance

Website
ugrep.com
Type
Website
Pricing
Not confirmed. Check the site
Platforms
Android, Linux, macOS, Web, Windows
Open source
Not stated
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

ugrep alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Linux Apps

Well-known listings from the same topic.

All 222

ugrep FAQ

What is the difference between ug and ugrep?
ug supports an optional .ugrep configuration file for preferences, while ugrep does not use a configuration file and is intended for shell scripts.
How do I search archives and compressed files?
Use the -z option, for example ug -z PATTERN to search files, archives and compressed files.
How do I search PDFs and other documents?
Use the ug+ or ugrep+ commands, which also search PDFs, documents, e-books and image metadata.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing