Find & replace
Find the text you need and replace it with care.
- 1Add input
- 2Adjust settings
- 3Get your result
Tool input and files are processed in this browser without being uploaded.
Before you start
Replace literal matches by default. Optional JavaScript regular expressions run in a disposable worker with a hard time limit; regex replacement tokens follow JavaScript rules.
How to use this tool
- Paste content into “Text”, or load the example to try it.
- Review Find, Replace with before selecting “Find and replace”.
- Review the Text result, then use the available copy or download controls.
Supported inputs and limits
Pasted text is limited to 1 MiB; review the result before using it.
Worked example
Example input
a.b.a.b
Example options
{
"find": ".",
"replacement": "X"
}Example output
aXbXaXb
When something does not work
Keep the original text. Check the replacement count and result before copying or downloading. If a regular expression changes too much, narrow the pattern and run it again.
Frequently asked questions
Are my files uploaded?
No. Files and tool input are processed in your browser. Moving around the site can keep a temporary workspace in the same tab. Refreshing or closing the tab clears it, so download results you want to keep.
What should I check in this result?
Replace literal matches by default. Optional JavaScript regular expressions run in a disposable worker with a hard time limit; regex replacement tokens follow JavaScript rules.
Documentation & further reading
Related tools
Convert text encoding
Choose the right text encoding and save a readable TXT file.
Merge text files
Put several text files together in the order you choose.
Word counter
Words, characters, and paragraphs at a glance.
Case converter
Change letter case to suit your text.