Text utilities
Everyday clean-up: counting, case, whitespace, slugs and lines.
Written for: Everyone else, quickly · Developers and designers
What this family is for
The everyday operations that a text editor rarely exposes directly: counting what is really there, changing case the way a spreadsheet would, removing the invisible characters that break a lookup, turning a title into a URL slug, sorting and de-duplicating lines, and seeing which words actually dominate a passage. All of it happens locally, in one paste.
Counting, cleaning, reshaping or restyling text
Four different jobs get filed under “text tools”, and picking the wrong one is the usual reason a result looks broken. Counting answers “how much is there” and must agree with what the reader sees — which is why this site reports grapheme clusters alongside code points and bytes. The family emoji 👨👩👧👦 is one character on screen, seven code points, eleven UTF-16 code units and 25 UTF-8 bytes; a counter that reports only one of those numbers is right about one question and wrong about the others. Cleaning answers “why does this match the wrong row”, and its enemy is invisible: a non-breaking space from a web page, a zero-width space from a PDF, or a soft hyphen that only shows up when the line wraps. Reshaping changes structure without changing words — sorting lines, removing hard wraps, repeating text. Restyling changes the glyphs themselves and is decoration, not formatting.
The distinction that matters most: cleaning and counting operate on what is really in the string, while restyling and case conversion operate on what the letters are. If a lookup fails, clean first and count second; if a paste looks wrong on a page, restyle — but never clean text you pasted from a styled source expecting the styling to survive, because the styled characters are separate code points and a “remove diacritics” pass will not turn mathematical bold back into plain bold.
| If you have… | Use | Because |
|---|---|---|
| How many words, characters or bytes this is | Character & word counter | Reports graphemes, code points and UTF-8 bytes separately, because they differ |
| Why this text will not match a search or a database row | Whitespace & invisible cleaner | Finds zero-width and non-breaking characters that look like nothing |
| UPPER, lower, Title or Sentence case | Case converter | Also gives the spreadsheet formula, so the result can be reproduced |
| A URL-safe slug from a title | Slug generator | Folds accents first, then lowercases and joins with hyphens |
| Sorted, de-duplicated or numbered lines | Line tools | Line order and duplicates, not character content |
| Text rejoined after a PDF copy | Remove line breaks | Hard wraps become spaces, or disappear, per the source |
| Which words dominate a passage | Word frequency counter | Ranks by count and reports each word’s share |
| Bold, script or full-width letterforms | Fancy text generator | Substitutes Unicode alphabets; the text is styled, not formatted |
15 tools in Text utilities
Common mistakes with these tools
- Trusting a word count that disagrees with the editor — Different tools count different things. An emoji sequence, a CJK character and a URL can each be counted as one “word”, one character or several bytes. The page shows the raw numbers so the disagreement is visible rather than mysterious.
- Cleaning before counting, then wondering why the count changed — Removing a non-breaking space or a soft hyphen genuinely changes the string, so the word count can drop. That is correct behaviour, not a bug.
- Expecting styled text to be searchable — Mathematical bold letters are different code points from ASCII. Search engines and database lookups will not match “𝐁𝐨𝐥𝐝” against “Bold”, and a screen reader may not read it at all.
- Using “remove line breaks” on code or poetry — It joins every line by design. Poetry, addresses, code and lists need their breaks; the tool is for prose that was wrapped by a PDF or an email client.
Frequently asked questions
Can I paste something confidential?
Yes. Everything runs in your browser; there is no upload and no storage, so the text stays on your device.
Do these match what a spreadsheet would do?
Where a spreadsheets formula exists for the same job — upper, lower, proper — the exact formula is given alongside the result so the two agree.
Is there an API?
No. The tools are pages, not a service; that is deliberate, because it is what lets them keep your input private.
Other tool families
- Scripts & numerals — Digits, writing systems and transliteration, converted losslessly. (7 tools)
- Encoding & Unicode — What the bytes and code points of your text actually are. (7 tools)
- Accents & diacritics — Strip the marks that break search, matching and filenames. (1 tools)
- Phonetic & symbol writing — Spell text in other symbolic systems: Morse, Braille, radio alphabet. (3 tools)
- Developer & data — Encode, format and generate the values developers pass between systems. (24 tools)
- Time & date — Timestamps and dates, converted without a timezone surprise. (4 tools)
- Converters & calculators — Unit, money and grade calculators that show the method, not just the answer. (14 tools)
- Colour — Move a colour between HEX, RGB and HSL without a design tool. (3 tools)
- Images — Resize, convert, compress, crop and inspect images without uploading them. (15 tools)
- Documents — Business paperwork — invoices, receipts — generated in the browser. (2 tools)
- CSS & design — Generate gradients, shadows, radii and shapes as copy-ready CSS. (4 tools)
- QR & codes — Machine-readable codes: QR, barcodes, and the subtitle formats players read. (3 tools)