How to use
Paste or type text, or click “Open file” to load a .txt or .csv file (UTF-8 and Shift_JIS are detected automatically).
Read the live counts at the top: characters, characters without spaces, lines, and UTF-8 / Shift_JIS bytes. “Show all counts” adds words, paragraphs, code points and the line-break types.
Pick an action in “Transform & clean up” — change case, remove duplicates, sort, convert line breaks and more. To affect only part of the text, select it first.
After each action the tool tells you how many characters or lines changed. Use “Undo” if it is not what you wanted.
Copy the result, or download it as UTF-8, UTF-8 with BOM (for Excel) or Shift_JIS.
What it does
Characters as people see them
Emoji sequences (👨👩👧), flags and combined characters count as one, using grapheme clusters via Intl.Segmenter. Code points and JavaScript length are shown alongside, so you can match whatever your target system counts.
UTF-8 and Shift_JIS bytes
Byte counts for both encodings, with Shift_JIS (Windows-31J) computed from the browser’s own conversion table. Characters Shift_JIS cannot store, such as emoji, are listed in a warning.
Natural sorting and deduplication
Sort A→Z, Z→A, by length, reverse or shuffle. Natural order treats numbers as numbers, so file2 comes before file10. Dedupe keeps the first occurrence and can ignore case and surrounding spaces.
Case and width conversion
UPPERCASE, lowercase, Title Case and Sentence case for any script with letter case, plus separate full-width/half-width conversion for alphanumerics, symbols and Japanese katakana.
Reports every change, with undo
Each action states how many characters or lines changed — or that nothing needed changing. Step back and forth through up to 50 actions, and apply actions to a selection only.
Line-break and whitespace repair
Detects mixed CRLF / LF / CR line breaks and normalizes them, trims line ends, collapses repeated spaces and tabs, and adds or removes line numbers, prefixes and suffixes.
Use cases
- Check an essay, ad copy or form field against a character limit (with or without spaces)
- Remove duplicate lines from a pasted list and sort it naturally (1, 2, 10)
- Fix text copied from PDFs or spreadsheets: stray spaces, blank lines, mixed CRLF/LF
- Make sure text fits a byte limit before saving it to a database or legacy system
- Convert full-width ABC or half-width カタカナ when working with Japanese data
Supported formats
Open
Save
Capability matrix
| Feature | Support | Notes |
|---|---|---|
| Characters (graphemes), without spaces / line breaks | Supported | — |
| UTF-8 / Shift_JIS byte counts | Supported | Shift_JIS = Windows-31J incl. NEC/IBM extensions |
| Word count | Partial | Space-separated languages only; Chinese/Japanese text is not split into words |
| Japanese manuscript-paper estimate | Partial | Simple row count; kinsoku and indentation rules are not applied |
| Upper / lower / title / sentence case | Supported | — |
| Sort, dedupe, trim, remove blank lines | Supported | — |
| Line-break conversion (CRLF / LF) | Supported | — |
| Comparing two texts (diff) | Not supported | Covered by a separate diff tool |
| Grammar or spell checking | Not supported | — |
| Offline use | Supported | Works without a connection once loaded |
Limits & notes
- Up to 5 million characters of text; files up to 20 MB.
- Undo keeps the state before each action, up to 50 steps (use your browser’s Ctrl+Z for typing).
- Shift_JIS bytes follow Windows-31J; JIS X 0213 (Shift_JIS-2004) additions count as unmappable.
- Case conversion uses Unicode default rules; locale-specific rules such as Turkish dotted İ are not applied.
- Reading time is an estimate based on average reading speeds.
Privacy & safety
Your text and files are processed only inside your browser. Nothing is sent to or stored on any server, so you can safely count and clean up confidential drafts or text containing personal data. Closing the page discards everything.
FAQ
Does the character count include spaces and line breaks?
How are emoji counted?
What is “natural” sorting?
Why would I need the Shift_JIS byte count?
Can I undo a transformation?
Is my text sent anywhere?
Related tools
Date & Time Studio — Unix Timestamp & Time Zone Converter
Paste a Unix timestamp or almost any date string — the unit and format are detected automatically and shown in 15 formats and multiple time zones. DST gaps, month ends and Japanese era boundaries are handled precisely.
Encode / Decode Studio — Base64, URL, JWT & more
Paste %E3%81%82, an eyJ… token or any encoded string — the format is detected and decoded instantly. Errors say exactly which character is wrong and why, and nothing leaves your browser.
Markdown Studio — Live Editor & Preview
A split-view Markdown editor with instant GFM preview, a table formatter that aligns pipes, an automatic table of contents and HTML export. Output is always sanitized and external images load only when you allow them.
Unicode Inspector — Character & Invisible Text Analyzer
Paste text to break it into characters with U+ codes, byte sequences and categories. Hidden zero-width spaces, BOMs, bidi controls and look-alike letters are detected and can be removed in one click.
IT Calculator (Storage, Transfer, Uptime, RAID)
Convert storage units (SI GB vs IEC GiB), estimate transfer time from file size and line speed, turn an uptime percentage into allowed downtime, and size RAID arrays, all with the formula shown. Type values with units, like “1.5GB” or “100Mbps”.
MIME & Content-Type Studio
Search extensions and MIME types both ways, get problems in a Content-Type header pointed out, and compare a dropped file’s extension, browser file.type and real content. Server config drafts are generated too.
Last updated: