Developer

Raw Text Editor

A plain text editor with find and replace, line sorting, dedupe and live word counts.

Sometimes you need a text box with nothing attached: no rich formatting, no fonts, no autosave to somebody's cloud, no sign-in. A log extract you want to sort, a list you need to deduplicate, a file where the trailing spaces have to go before it hits a parser.

This editor does the boring jobs properly. It counts as you type, handles regular expressions in find and replace, sorts lines alphabetically, numerically or by length, strips duplicates, converts tabs to spaces and lets you choose LF or CRLF line endings on export. The draft is held in your own browser's storage while you work and is gone the moment you clear it.

How to use it

  1. Type or paste text, or use Load a file to open a .txt, .csv, .md or log file.
  2. Watch the counts below the editor: characters, words, lines and an approximate reading time.
  3. Use the find box to locate text. Tick Regex to search with a pattern, then replace one or all occurrences.
  4. Clean up with the line tools: trim trailing whitespace, convert tabs, remove blank lines, deduplicate, sort, or number every line.
  5. Change case for the whole document with the case selector.
  6. Choose the extension and line endings, then press Download. Autosave keeps the draft in this browser only.

Questions

Is my text saved anywhere?

Only in this browser's local storage when autosave is ticked, so a refresh does not lose the draft. Nothing is transmitted, and unticking autosave (or clearing the editor) removes it. On a shared machine, clear the editor before you leave.

What does regex actually mean here?

It lets you search using patterns instead of literal text — for example \d{4} to find any four-digit number, or ^\s*$ to find blank lines. With regex on, the replacement field understands $1 style back-references to captured groups.

Which line endings should I export?

LF for anything that will live on a Linux server, a repository or a CMS. CRLF for Notepad-era Windows tools and some older spreadsheet imports. Mixing the two is a common cause of baffling diff noise, so pick one deliberately.