Life & fun · free · 2026
21 free alternatives to GNU grep as a PHP extension
Uses upstream GNU grep to build a native php extension.
GNU grep as a PHP extension is free itself (its own site, checked November 2026). Below are 21 products that do a similar job and cost nothing to start: 20 free outright and 1 with a free plan and paid upgrades. Each price was read from the product's own site. They are ranked by how close each is in meaning, then by launch-day votes.
- 1

Transductive regular expressions for text editing is a command-line tool that extends standard regular expressions to simplify group logic for text editing tasks.
2025 · github.com · price checked November 2026
- 2

Local first semantic and hybrid BM25 grep / search tool for use by AI and humans! - GitHub - BeaconBay/ck: Local first semantic and hybrid BM25 grep / search tool for use by AI and humans!
2025 · github.com · price checked November 2026
- 3
Semantic GrepFree▲356Much improved new version. Search for words similar to the query. For example, "death" will find "death", "dying", "dead", "killing"... Incredibly useful for exploring large text datasets where exact matches are too restrictive.
2024 · github.com · price checked November 2026
- 4
Grep with colours written in GoFree▲127Grep with colours.
2018 · github.com · price checked November 2026
- 5
PHP-ftsFree▲89A self-contained full-text search engine in pure PHP. No extensions, no dependencies.
May 2026 · github.com · price checked November 2026
- 6

A simple, fast and user-friendly alternative to 'find'
2017 · github.com · price checked November 2026
- 7
SeaGOATFree▲240local-first semantic code search engine.
2023 · github.com · price checked November 2026
- 8
dif.shFree plan, paid from $50/mo▲373Markdown feature flags your coding agent installs for you
Aug 2026 · dif.sh · price checked November 2026
- 9
GreplicaFree▲186Self updating wiki for coding agents
Jul 2026 · github.com · price checked November 2026
- 10

A syntax-highlighting pager for git, diff, grep, rg --json, and blame output
2020 · github.com · price checked November 2026
- 11
fzf Git done rightFree▲251interactive `git` with the help of `fzf`.
2020 · github.com · price checked November 2026
- 12
zfindFree▲122zfind is a command-line file search tool that uses SQL syntax instead of traditional find commands.
2024 · github.com · price checked November 2026
- 13
K(r)epFree▲21K(r)ep is a command-line string search utility designed for fast text searching across files and directories.
2025 · github.com · price checked November 2026
- 14

Releasing ColGREP today, made using our open-source multi-vector database, it support grep like filtering while adding an extra input to rank output of grep based on semantic similarity. ColGREP is packed with strong code retrieval models we designed and run 100% locally.
Feb 2026 · github.com · price checked November 2026
- 15
UscopeFree▲262Uscope is a Linux debugger written from scratch as an alternative to GDB and LLDB.
2025 · github.com · price checked November 2026
- 16

- 17
PurlFree▲71Purl is a command-line tool for text processing that uses Perl-like regular expressions to simplify common operations like replacing, filtering, and excluding text.
2024 · github.com · price checked November 2026
- 18

Flatito is a search tool for YAML and JSON files that works like grep to find specific keys and display their values along with line numbers.
2024 · github.com · price checked November 2026
- 19
A PHP parser written in PHPFree▲77A PHP parser written in PHP.
2012 · github.com · price checked November 2026
- 20
F2Free▲122F2 is a command-line tool for bulk renaming files across Linux, macOS, and Windows.
2025 · github.com · price checked November 2026
- 21
DocfdFree▲44Think interactive grep for text files, PDFs, DOCXs, etc, but word/token based instead of regex and line based, so you can search across lines easily. Docfd aims to provide good UX via integration with common text editors and PDF viewers, so you can jump directly to a search result with a single key press. --- I originally wrote this tool to help me dig through text/markdown notes, since very often I want to search for a phrase of sorts that may span across multiple lines, but constructing the corresponding multiline regex is a bit painful (especially painful if I want to account…
2024 · github.com · price checked November 2026
All alternatives to GNU grep as a PHP extension, paid too →About GNU grep as a PHP extension →
Free means the product’s own site says it is free or offers a free plan, as read on the date shown. Plans change; check the site before you rely on one.