ToolXkit Icon

Text Fixer

Clean and reshape lines — trim, dedupe, sort, prepend, append, find and replace.

  • Free
  • No signup
  • Nothing uploaded
  • No watermark
0 lines

How to Use the Text Fixer Online

Text Fixer: before and after TXT A BEFORE TEXT FIXER TXT A AFTER

Paste or drop a list and shape it in one go. Split on new lines, commas, tabs or a separator you type; trim, drop empties and dedupe; keep or remove lines containing a word or pattern; delete before or after a marker; find and replace; add text to the start or end of each line. Then sort, change case and output as plain lines, a quoted list, JSON array, SQL IN list or bullets.

Trims, deduplicates, sorts, prepends, appends and replaces, in one pass over the same text. Useful because line cleanup is rarely one operation: a list pasted out of an email typically needs trimming and deduplicating and sorting before it is usable anywhere.

No software to install Free Works on any device

Step-by-Step Guide to Using the Text Fixer

  1. 1. Paste your lines into the box on the left, or drop a file in

  2. 2. Set the changes you want underneath — the output updates as you type

  3. 3. Copy the result, download it, or send it back to the input to keep going

No .txt file to hand? Download a sample text and Markdown file (703 B) and try it.

Try it now

What is the Text Fixer?

Trims, deduplicates, sorts, prepends, appends and replaces, in one pass over the same text. Useful because line cleanup is rarely one operation: a list pasted out of an email typically needs trimming and deduplicating and sorting before it is usable anywhere.

TXT files

.TXT .CSV

Clean and reshape lines — trim, dedupe, sort, prepend, append, find and replace.

At a glance

  • Takes: Pasted text or a dropped .txt, .csv, .json or .html file
  • Order: Trim and dedupe → filters → delete before/after → find and replace → prepend/append → sort
  • Dedupe: Ignores case by default; untick to treat Ada and ada as different
  • Sort: A→Z, Z→A, numeric, shortest or longest first
  • Output: One per line, comma, quoted, JSON array, numbered, bullet, SQL IN
  • Price: Free

Why Use Text Tools Online?

Counting words, changing case, pulling emails out of a page or writing an amount in words are small jobs that eat time by hand. These tools do them the moment you paste, and the text stays in your browser.

“Paste once, and let the tool do the fiddly part.”
  • Counts as you type
  • Lists sorted and cleaned
  • QR codes for anything
  • Cheque amounts in words
  • Case changed in one click
  • Emails and links pulled out
  • Citations in APA or Chicago
  • Handy commands for developers

Popular Uses for Text Utilities

Short, repetitive text jobs are what these tools were made for.

  • Essay word limits Check that an essay or application answer is within the word or character limit.
  • Fixing capital letters Turn text typed in CAPS LOCK into normal sentence case without retyping it.
  • Collecting contacts Pull every email address or phone number out of a long message or page.
  • Writing cheques Get a rupee or dollar amount written correctly in words for a cheque or invoice.
  • QR codes Make a QR code for a website link, contact card, email address or event.
  • Reference lists Format a book or website reference in APA or Chicago style for an assignment.
  • Tidying lists Sort lines alphabetically, remove repeats or add numbers to a pasted list.
  • Command helpers Build a cron schedule, git command or chmod setting without searching the manual.

What You Can Do with the Text Fixer

Accepts TXT, CSV

Understands TXT structure rather than treating the file as bytes

Infers column types from the data instead of treating every field as a string

Escapes and quotes correctly, so a value containing the delimiter does not break the output

Why Use ToolXkit for Text Fixer?

Your files stay with you

Everything runs inside your browser. Nothing you open or type is uploaded to a server.

Writing and Text Tools for Different Users

Students

Count words, format citations and tidy notes before submitting coursework.

Writers and bloggers

Change case, find repeated words and check length before publishing a piece.

Office workers

Clean up pasted lists, find and replace names and write amounts in words.

Marketers

Extract emails, links and hashtags from pages and make QR codes for campaigns.

Developers

Encode Base64, build cron lines and generate git and shell commands quickly.

Accountants

Write invoice and cheque amounts in words and tidy columns of pasted figures.

Best Times to Clean Up Text

Text tools save time when you are:

  • Keeping to a word limit
  • Fixing text typed in capitals
  • Building a contact list from emails
  • Writing out a cheque
  • Printing a QR code poster
  • Finishing a reference list
  • Removing repeats from a list
  • Setting up a scheduled job

Tips and Good to Know

  1. Because deduplication runs before find-and-replace, two lines that become identical after a replacement are both kept. Send the output back as input and run again.

  2. It works line by line. Replacing across line breaks is not possible; use the remove-line-breaks tool first.

  3. Regex mode applies to find, keep and remove at once. A stray bracket in one of them halts the whole pass with an error message.

Frequently Asked Questions

Answers to common questions about this tool.

What order do the operations run in?

Trim first, then deduplicate, then sort, then prepend and append. That order matters: deduplicating before trimming leaves entries that differ only by trailing whitespace as separate, which is the usual reason a list still has duplicates after being deduplicated.

Is the deduplication case-sensitive?

By default yes, so Apple and apple are treated as different. Whether that is right depends entirely on your data — for a list of names it usually is not, and for a list of identifiers it usually is.

Is my text sent anywhere when I use Text Fixer?

No. The text you paste is handled in your browser and never leaves the page. That makes it safe for drafts, customer lists and anything else you would rather keep to yourself.

Is there a limit on how much text I can paste?

The site sets none. Long documents are handled by your own device, so a whole book may be slow on an older phone. Articles, essays and long lists are no trouble.

Can I use Text Fixer without making an account?

Yes. There is no login, no email to hand over and no daily limit. Open the page, paste or type, and copy or download the result when it is ready.

Why does my word count differ from Microsoft Word?

Programs treat hyphenated words, numbers and symbols a little differently. The gap is usually a few words in a long piece. If a teacher or portal sets a limit, stay a little under it to be safe.

Do the QR codes made here expire?

No. The information is stored directly in the pattern, with no redirect through our servers, so the code keeps working for as long as the link or text inside it stays valid.

Further reading

  • Unicode Consortium The body that sets how letters, symbols and emoji from every language are stored as text.
  • Letter case (Wikipedia) The rules and names for upper case, lower case, title case and the styles programmers use.
  • Base64 (MDN) A plain explanation of Base64, the encoding used to carry files and images as text.

More Text & Developer Tools

Other free tools for the same kind of job.

Browse all tools