Text Processor
Transform and process text with one click. Input changes are auto-saved locally. Output is not saved.
About This Tool
The Text Processor is an all-in-one text transformation tool that runs entirely in your browser. Operations include case conversion (UPPER, lower, Title, Sentence), whitespace cleanup, line sorting and deduplication, Base64 and URL encoding/decoding, HTML tag stripping, find-and-replace, line merging, and word/character counting. Your input text is auto-saved to localStorage so you don't lose it on page refresh, output is never stored.
How to Use
- Paste your text into the Input panel on the left.
- Click any transformation button, the result appears instantly in the Output panel.
- Chain operations: copy the output back to input and apply another transformation.
- Click Copy Output to copy the result to your clipboard.
Common Use Cases
- Cleaning up text copied from a PDF. PDF exports often insert a line break after every visible line and leave stray extra spaces where columns used to line up. Paste the block into Input and run Merge Multi-line to join the fragments into normal paragraphs, then Clear Line Spaces to collapse the leftover gaps.
- Checking a meta description length before publishing. Paste a draft meta description or title tag and watch the live "Words / Chars" counter under the Input box. This lets you trim copy down to Google's roughly 155 to 160 character display limit without switching to another tool.
- Deduplicating a list of emails or URLs. If you exported a contact list or a set of scraped links and ended up with repeats, paste one entry per line and click Remove Duplicates. Sort Lines A-Z afterward to make the list easier to scan.
- Stripping markup out of a CMS export. When a blog post or product description is copied out of WordPress or a similar CMS, it usually drags along span and div tags. Clear HTML Tags removes the markup and leaves plain readable text, ready to paste into a plain text field or spreadsheet.
- Preparing a slug or filename list. Use ALL CAPS, all lowercase, or Title Case together with Trim Lines to normalize a batch of category names or filenames before bulk uploading them somewhere that is case sensitive.
Troubleshooting
- Remove Duplicates keeps two lines that look identical. The comparison is exact and case sensitive, so "Example" and "example" are treated as different lines, and a line with a trailing space is different from one without. Run Trim Lines and a case-conversion button first, then Remove Duplicates.
- Sort Lines A-Z puts numbers or symbols in an order that looks wrong. The sort uses locale string comparison, not numeric comparison, so "10" can sort before "2". This is expected for text sorting and is not a bug, treat numeric lists as numbers in a spreadsheet if strict numeric order matters.
- Base64 Decode in the toolbar shows an error or garbled text. The input must be valid standard Base64. If the string came from a URL-safe Base64 source (using dashes and underscores instead of plus and slash), convert it first, or use the dedicated Base64 tool's URL-safe mode.
- My typed text disappeared after closing the tab. Input is cached to this browser's localStorage automatically, so reopening the page and clicking Load Cache should restore it. It will not appear on a different browser or device since nothing is stored on the server.
Frequently Asked Questions
Does my text get saved anywhere?
Your input text is saved to your browser's localStorage so it persists across page reloads on the same device. It is never sent to any server. The output is not saved anywhere. You can clear the input at any time.
Can I process large amounts of text?
Yes. The tool processes text synchronously in JavaScript so it can handle megabytes of text without issue. Very large inputs (10 MB+) may cause a brief pause on slower devices, but no hard limit is enforced.
What does the "Strip HTML" operation do?
It removes all HTML tags from the input, leaving only the text content. Useful when copying text from a web page or CMS that includes unwanted markup.
What is the difference between Merge Multi-line and Clear Blank Lines?
Clear Blank Lines only removes lines that are completely empty (or whitespace only) and keeps the remaining lines separate. Merge Multi-line goes further, it joins every non-blank line into a single continuous line separated by spaces, which is useful for turning a wrapped paragraph back into one sentence.
Can Replace use a regular expression?
Yes. Click Replace to open the panel, then check the Regex box before entering a pattern in the Find field. Standard JavaScript regex syntax is supported, including groups and character classes. Leave Regex unchecked for a plain literal find and replace.