Text Encoding & Character Inspector
Analyze pasted text for common Unicode byte-order marks, newline styles, control and format characters, zero-width marks, and unusual code points. Findings include code point and line/column without changing the input. Text remains in your browser.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
How it works
What it reports
Pasted text comes back as two sections: a summary counting code points, non-ASCII code points, the leading BOM, and line endings split into CRLF, LF and CR, plus a findings table with line, column, hex code point, category, name and the character itself. Flagged categories are control characters, format and invisible characters, unusual spaces, and combining marks.
When to use it
Paste a snippet that misbehaves — invisible characters carried in from a web page, or line endings that wreck a diff — and the table names the exact line and column of each suspect code point so you can delete or escape just those.
Options that change the result
showAllNonAscii widens reporting to every code point above U+007F instead of only the flagged categories, which is what you want when checking whether a string is pure ASCII. maxFindings caps the table at 10 to 5000 rows; the summary's reported-finding count stays truthful and the notes state how many rows were dropped.
Edge cases worth knowing
The input is already a JavaScript string, so the original byte encoding is gone before the tool runs — it sees a leading BOM character but cannot tell UTF-8 from UTF-16. The BOM is deliberately kept out of the findings table and shown only in the summary, and carriage returns are counted apart from CRLF pairs.
Privacy
All scanning happens on your device against the string you paste. Nothing is uploaded and no options are sent anywhere.
Questions
Does this detect the original file encoding?
No. The tool receives a JavaScript string after the browser has already decoded its source. It can identify a leading Unicode BOM character and inspect code points, but it cannot reliably recover the original byte encoding from pasted text.
Why are some characters marked as format characters?
Unicode format characters can affect text direction, joining, or display while remaining invisible, such as zero-width joiners and bidirectional controls. Some are legitimate in language text; inspect context before removing them.
Does this modify or upload my text?
No. It reports character and newline findings without changing the input or sending network requests.
Related tools
See categoryUnicode Normalizer
Normalize Unicode text, optionally remove accents and standardize line endings.
Unicode Code Point Explorer
Inspect every character code point, plane, and UTF-8/UTF-16 encodings in a table.
Add Line Numbers
Prefix every line with a running number, with configurable start, separator, zero-padding.
.dockerignore Generator
Build a .dockerignore for a lean Docker build context — pick a stack preset and add custom lines.