What each option does
- Trim line ends removes spaces and tabs at the start and end of every line. On by default.
- Single spaces turns two or more spaces or tabs inside a line into one space. On by default.
- Invisible characters removes zero-width spaces, soft hyphens and similar hidden characters, and turns non-breaking and other unusual spaces into ordinary ones. On by default.
- Straight quotes turns curly quotes ‘ ’ “ ” into straight ones ' and ". Useful for code, spreadsheets and text messages, where curly quotes can cause problems.
- Rejoin split words joins a word split by a hyphen at the end of a line, so “under-” and “stand” on the next line become “understand”.
- Remove duplicate lines keeps the first copy of each line and removes the rest.
- Line breaks: Keep leaves them alone. Join lines joins the lines inside each paragraph but keeps the gaps between paragraphs. Join all turns the whole text into one paragraph.
- Blank lines: At most one leaves a single blank line between paragraphs. Remove takes them all out.
- Sort lines puts lines in alphabetical order, ignoring case and accents, with numbers in number order so “10” comes after “9”.
The bar under the text says exactly what was changed, so you can see whether anything unexpected happened.
Fixing text from a PDF
PDFs store text line by line, so copying from one puts a line break at the end of every line and sometimes splits words with a hyphen. To get normal paragraphs back, choose Join lines and turn on Rejoin split words, then use Copy. Try the Sample to see it in action.
Rejoin split words can’t tell a split word from a real hyphenated word that happens to fall at the end of a line, such as “well-” and “known”. Those are rare, but worth a quick check.
Cleaning lists
For a list of names, email addresses or product codes, one per line, turn on Remove duplicate lines and choose a sort order. Blank lines are left out when sorting. To count what’s left, the word counter shows the number of lines.
Your text stays private
Everything happens in your browser. Your text isn’t uploaded, logged or stored on a server. It’s kept in this browser tab only, so a refresh doesn’t lose it, and it’s gone when you close the tab.