Skip to content
Β§
Β§ · free tool

Text cleaner & line tools. One click, one clean list.

Sort, dedupe, trim, change case, find & replace with regex, add prefixes or suffixes, join or split lines. Every operation runs entirely in your browser, nothing is uploaded.

A free online tool by Digital Heroes
0 lines 0 words 0 chars

Runs entirely on your device, nothing is uploaded anywhere.

sort & order
remove & clean
change case
line numbers & affixes
join & split
Join with
Split by

Split turns each delimiter into a new line. Use \t for tab, \n for newline.

find & replace
§ 02 · what you can do

One editor, every text chore.

Sort & reorder linesAlphabetical A→Z or Z→A, true numeric sort, reverse, or shuffle, one click each.
Dedupe & cleanRemove duplicate lines, strip empty lines, trim whitespace, and collapse runs of spaces or blank lines.
Change caseUPPERCASE, lowercase, Title Case or Sentence case, Unicode-aware, works on names and accents.
Find & replace with regexPlain or regular-expression search across the whole document, with an optional case-insensitive match.
Number, prefix & suffixAdd padded line numbers, or wrap every line with your own prefix and suffix text.
Join, split & undoJoin lines with any separator, split on any delimiter (incl. \t), then undo up to 50 steps or reset to your original.
§ 03 · how to use it

Four steps, no manual.

  1. Paste or type your lines or text into the editor. Nothing leaves your browser.
  2. Click an operation from the panel, sort, dedupe, change case, find & replace, number, affix, join or split.
  3. Stack operations as many times as you like; use Undo to step back or Reset to return to your first input.
  4. Copy or download the cleaned result as a .txt file.
§ 04 · faq

Frequently asked questions.

Is the Text Cleaner free?
Yes, completely free for everyone. No sign-up, no account and no usage limits.
Is it private? Is my text uploaded anywhere?
No upload, ever. Every operation runs in your browser on your own device, your text never leaves your computer and nothing is sent to a server.
Does it work offline?
Yes, once the page has loaded, every operation works without a connection, because all the logic runs locally in JavaScript.
How does find & replace with regex work?
Leave the Regex box unchecked for a plain text search, or tick it to use a JavaScript regular expression, capture groups like $1 work in the replacement. Ignore case is on by default; untick it for an exact-case match.
Can I undo an operation I didn't mean to run?
Yes. Undo steps back through your last 50 operations, and Reset restores the very first text you entered this session, so you can experiment freely.
How do I split on a tab or newline?
Type \t in the Split-by box for a tab, or \n for a newline. The same escapes work in the Join-with box, so you can join lines with tabs to build TSV.

Published · Last updated .

Online now

Hi there. How can we help you today?

Reply