Text Replacement Tool
Replace a chosen word or phrase in text, either once or everywhere, with optional case sensitivity.
Use the Text Replacement Tool
Replace a word or phrase in your text. Choose whether to replace the first match or every match.
Calculations and text processing happen locally in your browser. ToolLott does not send these inputs to a server for this tool.
How to use it
Type or paste your source text, enter the word or phrase you want to replace, then enter the replacement. This tool uses literal text rather than regular expressions.
How the Text Replacement Tool works
The Text Replacement Tool searches supplied text for a literal word or phrase and replaces either the first match or all matches, with optional case sensitivity.
Calculation breakdown
ToolLott will explain the current inputs and displayed result here.
How the Find & Replace processes text
ToolLott applies a deterministic searches supplied text for a literal target string and replaces either the first match or all matches, with optional case sensitivity. The current result is generated from the supplied text and options, and the original input remains available so the transformation can be checked before copying or downloading the output.
Step-by-step method
- Read the source text, literal find text and replacement text.
- Escape the find value so regex punctuation is treated literally.
- Apply case-sensitive or case-insensitive matching and stop after the first match unless Replace all is selected.
Worked example
Priya, a operations coordinator, has a short draft where “Cat” and “cat” both need to become “dog”, including different capitalisation.
Example inputs
- text = Cat cat
- find = cat
- replace = dog
- caseSensitive = False
- replaceAll = True
Calculation / processing
Source = Cat cat; find = cat; replacement = dog.Case-insensitive + Replace all matches both Cat and cat.Two replacements are made.
The count tells the user how many literal matches were changed, which is useful for checking that the replacement scope was expected.
Assumptions
- Text is processed exactly as supplied except for the options explicitly selected by the user.
- The tool performs its transformation locally and does not infer hidden context beyond its documented rules.
Limitations
- This is literal text replacement, not a regular-expression editor.
- Review large edits because replacing a common word or phrase can also change unintended contexts.
Common questions
Does the Find & Replace change my original source automatically?
No. ToolLott generates a result/preview; you decide whether to copy or use it.
Is the processing deterministic?
Yes for the same input and settings, except where a tool explicitly documents random generation.
Does ToolLott understand the meaning of the text?
These utility modes apply documented text rules; they are not a general semantic or editorial review engine.
Methodology sources
This page uses basic mathematical or ToolLott implementation logic that does not require an external factual source. The worked result is still tied to the production tool and QA example.
Related ToolLott tools
A realistic way Priya could use this tool
Priya is a operations coordinator.
Priya has a short draft where “Cat” and “cat” both need to become “dog”, including different capitalisation.
They use the worked values shown in the tool: Source text: Cat cat; Find: cat; Replace with: dog; Casesensitive: no; Replaceall: yes.
ToolLott returns “2 replacements”. That gives Priya a concrete figure to check against the real task before they copy it into the next document or decision.
Fictional scenario using realistic example data. For Ready tools, the worked result is tied to the tested example shown in the tool. Replace the figures with your own inputs and independently verify important professional, financial, legal, health or safety decisions.
What this tool is for
Use it to find literal text and replace the first or all matching occurrences locally.
It sits within ToolLott’s Text Tools collection, where you can also count words and characters, compare text, replace wording, change case, remove duplicate lines, edit Markdown and convert text to speech.