Text Transform Tools
Transform text in your browser: replace, remove whitespace, delete duplicate lines, sort lines and convert case and width.
How to use
- Paste the text you want to change into the input box.
- Choose an operation. Extra fields appear when the operation needs them, such as the find and replace strings.
- Press Apply. The result appears in the output box with a short report, for example how many replacements were made.
- Copy the output, or use “Use output as input” to chain another operation onto the result.
Notes
- All transformations run in your browser. Your text is never uploaded.
- Regular expression replace always applies globally. Invalid patterns are reported as errors instead of failing silently.
- Removing duplicate lines keeps the first occurrence of each line and preserves the original order of the rest.
FAQ
What is the difference between literal and regex replace?
Literal replace matches the exact characters you type. Regex replace interprets the find field as a regular expression, so patterns like \d+ or ^...$ work, and $1 in the replacement refers to a capture group.
Does sorting understand numbers?
Yes. Lines are compared with a locale-aware collator with numeric ordering, so “item2” sorts before “item10”.
What does full-width / half-width conversion cover?
ASCII letters, digits, punctuation and spaces are converted between their full-width and half-width forms. Kanji and other characters are left unchanged.