grep / ripgrep Command Builder
Build grep and ripgrep (rg) commands side-by-side from a visual UI. Toggle flags (ignore-case, whole-word, invert, count, line-numbers, recursive, fixed-string), choose regex flavor (BRE / ERE / PCRE / Rust regex), add file globs and context lines, then test the pattern against sample text live with the correct regex flavor. Per-flag plain-English explanation, grep↔rg translation table, recipe library, history (max 20), shareable URL. 100% client-side — your sample text never leaves the browser.
Build grep and ripgrep (rg) commands side-by-side from a visual UI. Toggle flags (ignore-case, whole-word, invert, count, line-numbers, recursive, fixed-string), choose regex flavor (BRE / ERE / PCRE / Rust regex), add file globs and context lines, then test the pattern against sample text live with the correct regex flavor. Per-flag plain-English explanation, grep↔rg translation table, recipe library, history (max 20), shareable URL. 100% client-side — your sample text never leaves the browser. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.