Alternatives to ripgrep

Searches a whole directory tree for a pattern in a fraction of the time grep takes, and skips what gitignore says to skip. The listings below can replace it for an important use case. Each note says what changes if you switch.

The original

Replacements

Listings that take over the same core job as ripgrep.

  • ripgrep-all

    ripgrep that can also search inside PDFs, Office documents, ebooks, zip files, databases and subtitles.

    ripgrep-all keeps ripgrep's speed and regex syntax while also searching PDFs, Office documents, ebooks and archives, but depends on external converters and uses AGPL-3.0.

  • ugrep

    A grep-compatible file searcher with a text interface, Boolean queries, fuzzy matching and archive search.

    ugrep keeps grep-compatible options and adds an interactive text interface, Boolean and fuzzy queries, and search inside nested archives, under the BSD-3-Clause license.

  • ack

    A grep-like source code search tool built for programmers working in large code trees.

    ack is a Perl-based source code searcher with full Perl regular expressions and Boolean options, but it needs a Perl interpreter and is typically slower on very large trees.

Similar software

Related functionality, not a direct replacement.