Text Toolkit: Count, Clean and Organize Text Online

Search with Ctrl + F Last updated: 2026-11-26

The Text Toolkit is a browser-based utility for everyday text work. It combines counting, cleaning, sorting, reversing and find-and-replace on one page, so you do not need to paste the same content into several different tools.

What it can do

  • Count characters, characters without spaces, words or Chinese characters, lines, paragraphs and an estimated reading time.
  • Trim whitespace from every line and collapse repeated spaces.
  • Remove duplicate lines while keeping the first occurrence.
  • Sort lines alphabetically in ascending or descending order.
  • Reverse the order of lines or reverse the characters in the whole text.
  • Add or remove line numbers.
  • Run find and replace with case-sensitive, case-insensitive or regular-expression matching.

How to use it

  1. Paste or type text into the input box. The statistics update immediately.
  2. Copy the input to the output box, or start with an empty output and choose a quick action.
  3. Actions are applied to the output box, so you can chain several steps, such as trim lines, remove duplicate lines and then sort A to Z.
  4. Use the find and replace panel for targeted edits, then copy or download the final text.

Why it is useful

Writers, editors, students and office workers often need small text adjustments before publishing or pasting content into another system. Doing those adjustments locally is faster and safer than sending private text to a remote service. Reading time is estimated at about 250 English words or Chinese characters per minute.

Privacy

All processing happens with JavaScript inside your browser. Your text is never uploaded to a server.

Open the tool: Text Toolkit.