How to use
- Enter your original text.
- Enter the string to find and the string to replace it with.
- Turn on the regex option if needed, then click "Replace".
๐ฏ Use Cases
- Fix a typo scattered across many places at once
- Mask sensitive-data patterns in a log file
- Batch-rename a variable in a code snippet
Example
Input
start: 2026-07-22 end: 2026-07-25
Output
start: 2026/07/22 end: 2026/07/25
With "Use regex" and "Replace all" turned on, setting the find pattern to (\d{4})-(\d{2})-(\d{2}) and the replacement to $1/$2/$3 uses the captured groups ($1ยท$2ยท$3) to reformat every YYYY-MM-DD date into YYYY/MM/DD at once.
FAQ
- What regex syntax does it use?
- It uses standard JavaScript regular expression syntax. Group references (like $1) can also be used in the replacement string.
- Can I search case-insensitively?
- Yes. Turn on the "Case-insensitive" option to match regardless of letter case.
- Is my text sent to a server?
- No. All replacement happens entirely in your browser.
More Text Tools
๐
Markdown Preview
Live-preview Markdown as HTML
๐
URL Encoder/Decoder
Percent-encode/decode URL characters
๐
Text Diff
Compare two texts line by line
โ๏ธ
List Sorter
Sort a list & remove duplicates
๐ง
Email Extractor
Extract & dedupe emails from text
๐ข
Character Counter
Count characters, bytes, lines & words
๐
Case Converter
Convert to UPPER/lower/Title Case
๐ค
Fullwidth/Halfwidth Converter
Convert fullwidth chars โ halfwidth ASCII
๐
Unicode Inspector
Check code points & look up characters
๐
Text to Decimal
Convert text โ decimal code points
๐งพ
Text to Hex
Convert text โ UTF-8 byte hex
0๏ธโฃ
Text to Binary
Convert text โ UTF-8 byte binary
๐ก
ASCII Art Generator
Turn text into an ASCII art banner