Text Tools
Find and Replace
Search and replace text using plain strings or full regular expressions. Replace all occurrences globally, use capture groups in replacement strings, and see a match count before committing. All in your browser.
Enter search term and replacement below, then run.
Processed in your browser; your text is never uploaded
Features
- Plain text and regex (regular expression) find modes
- Global replace or replace first occurrence only
- Case-insensitive search toggle
- Capture group references in replacement ($1, $2)
- Shows match count before replacing
- Copy or download the modified text
How to use it
- Paste your text in the input panel.
- Enter the search string or regex pattern.
- Enter the replacement text (use $1 for capture groups).
- Click Replace. The modified text appears in the output.
- Copy or download the result.
Use cases
- Batch-renaming variables in a code snippet
- Stripping specific HTML tags or Markdown syntax
- Reformatting date strings from MM/DD/YYYY to YYYY-MM-DD
- Replacing placeholder text in a template document
Limitations
- Supports plain text, case-insensitive matching, and optional regular expression patterns.
- Very large text blocks depend on browser memory.
- Processing happens entirely in the browser tab.
Related tools
Remove Duplicate Lines
Remove duplicate lines from any text list instantly. Case-insensitive mode, blank line removal, and sorted output options. All in your browser, no upload.
Use toolRemove Empty Lines
Remove all empty and blank lines from text instantly. Optionally remove lines with only whitespace, paste and get clean output in one click.
Use toolDiff Checker
Compare two text blocks side-by-side and see additions, deletions, and unchanged lines highlighted. No upload. Your text stays in the browser.
Use toolWord Counter
Count words, characters, sentences, paragraphs, and reading time in real time. Paste or upload text, live stats update as you type, all in your browser.
Use toolCharacter Counter
Count characters with and without spaces, words, lines, and UTF-8 bytes in real time. Essential for Twitter, SMS, meta tags, and form field limits.
Use toolCase Converter
Convert text between uppercase, lowercase, title case, sentence case, camelCase, snake_case, and kebab-case instantly. Paste text and click. All in your browser.
Use toolFrequently asked
Can I use regex capture groups in the replacement?
Yes. Use $1, $2, etc. to reference capture groups from the regex pattern. For example, replacing (\w+)-(\w+) with $2-$1 swaps hyphen-separated words.
Does it support multi-line regex?
Yes. The multiline flag is available, making ^ and $ match line boundaries rather than only the start/end of the entire string.