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

Character & Word Counter Characters, characters without spaces, words, lines, sentences and UTF-8 bytes, updated as you type. Typing Speed Test Measure net WPM and accuracy on a fixed passage, with the five-character-word formula stated on the page. Case Converter UPPER, lower, Title and Sentence case, with the exact Excel or Google Sheets formula for each mode. Whitespace & Invisible Cleaner Find and remove zero-width characters and non-breaking spaces, collapse whitespace and trim lines. Slug Generator Turn any title into a clean URL slug, folding accents so Đà Nẵng becomes da-nang. Line Tools Sort, deduplicate, reverse, shuffle or number lines — locally, in one paste. Upside-Down Text Flip text with Unicode characters that look rotated 180°, ready to copy and paste. Remove Line Breaks Remove the hard line breaks that come with text copied from a PDF and rejoin it — with a space, with nothing, or by collapsing blank lines. Word Frequency Counter Rank the words in your text by how often they occur, with each word’s share of the total and a CSV export. Text Repeater Repeat a word, line or emoji as many times as you need, with a new line, a space, nothing or your own separator between copies. Zalgo Text Generator Glitch text with stacked combining marks at four intensities, and strip them back out to readable text. Fancy Text Generator Restyle text in twelve Unicode alphabets — bold, italic, script, fraktur, double-struck, monospace, circled, small caps and more. HTML to Markdown Converter Turn pasted HTML into clean Markdown — headings, lists, links, emphasis, code, blockquotes and tables — with nothing uploaded. Markdown to HTML Converter Render Markdown to HTML: headings, lists, emphasis, links, images, code fences, blockquotes and tables, live as you type. Markdown Table Generator Build a Markdown table from pasted rows with per-column alignment, or paste a spreadsheet grid and get the table instantly.

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