Find & Replace

Find and replace text online, with plain-text matching or full regular-expression support for pattern-based edits. Free, and all matching runs in your browser — paste anything without it leaving your device. Plain find-and-replace handles renames and corrections; regex handles the jobs that would otherwise be manual labor, like rewriting every date format in a document, stripping everything inside brackets, or replacing variable whitespace. The table below is a minimal regex vocabulary — these few tokens cover most everyday patterns.

Regex tokens worth knowing

TokenMatches
\dAny digit 0–9
\wLetter, digit, or underscore
\sAny whitespace
.Any single character
+ / *One-or-more / zero-or-more of the previous
^ / $Start / end of a line
(abc)Capture group, referenced as $1 in the replacement

When to use it

  1. Replace a product or person's name across a long document in one action.
  2. Use a regex to convert every DD/MM/YYYY date to YYYY-MM-DD format.
  3. Strip bracketed annotations like [citation needed] from pasted text.
  4. Swap straight quotes for typographic quotes across a manuscript.

How to Use

  1. Select the text utility you need from the navigation tabs at the top.
  2. Paste or type your text into the input area, or upload a .txt file.
  3. Configure any options specific to the selected tool.
  4. Click the action button to process your text.
  5. Copy the result to your clipboard or download it as a .txt file.

Features

  1. 10 text utilities in one place: Remove Duplicates, Case Converter, Whitespace Remover, Line Sorter, Random Generator, Word Frequency, Character Counter, Diff Checker, Find & Replace, and Remove Special Characters
  2. Upload .txt files or ZIP archives containing text files
  3. Download processed text as a .txt file
  4. All processing is instant and client-side
  5. 100% private — your text never leaves your browser

FAQs

Can I upload files to process text?

Yes! You can upload .txt files or .zip archives containing text files. The content will be loaded directly into the input area for processing.

Is my text data processed securely?

Absolutely. All text processing happens entirely in your browser. No data is sent to any server — everything stays local and private.

What does the Remove Duplicates tool do?

It removes duplicate lines from your text, keeping only the first occurrence of each unique line. You can optionally make the comparison case-insensitive.

How does the Text Diff Checker work?

It compares two blocks of text line-by-line and highlights additions, deletions, and unchanged lines with color coding, similar to a Git diff.

Can I chain multiple operations together?

Yes! You can copy the output from one tool and paste it into another. Each tool works independently so you can apply transformations sequentially.

Technical Details

Find and replace operations use JavaScript's string replace() method with regex or literal matching strategies. Literal mode escapes special regex characters to perform exact string matching, while regex mode enables pattern-based replacements using capture groups ($1, $2) for backreferences. Case-sensitive and case-insensitive flags (i flag) control match behavior, and global flag (g) determines whether only the first occurrence or all occurrences are replaced. Whole word matching uses word boundary assertions (\b) to prevent partial matches within larger words. The tool provides live preview showing replacement count and highlights matches before applying changes, supports multi-line patterns with the m flag, and allows batch replacements where multiple find-replace pairs execute sequentially.

From the Blog

  • Text Utilities That Every Content Writer Should Know
  • Batch Processing Guide: How to Handle Files at Scale with Toolsnests
  • Base64 Encode and Decode Online — Free Tool

Text Utilities

Text Utilities

  • Remove Special Characters
  • Accent & Diacritics Remover
  • Caesar Cipher
  • ROT13 / ROT47
  • NATO Phonetic Alphabet
  • Palindrome Checker
  • Text Repeater
  • Bionic Reading Converter