Skip to content
Marvin's Toolbox.

Unicode Character Inspector

Paste text and see every character laid out: its codepoint, official Unicode name, block, category, UTF-8 and UTF-16 bytes and HTML entity. Emoji and other grapheme clusters are grouped, so you see what the eye sees and what the bytes say.

Runs entirely in your browser. Nothing you put in here gets uploaded.

Input

Next steps

Send this tool's output straight into another tool.

Convert text into every case at once: title case in the APA, AP, Chicago, MLA, Bluebook, AMA and NYT styles, sentence case, upper, lower, camelCase, snake_case, kebab-case and more.

Count words, characters, sentences, paragraphs, lines and more as you type, with estimated reading and speaking time.

Remove duplicate lines from a list or text, keeping the first occurrence. Optionally ignore case and whitespace, or drop blank lines too.

Replace text in two modes: plain find and replace all, or regular expressions with flag controls and capture group references like $1.

Compare two texts and see every added, removed and changed line highlighted, side by side or inline, with the changed words marked within each line. Ignore case, whitespace or blank lines, read a summary of how much changed, and export the result as a unified diff.

Paste a UUID to see what it carries: version, variant, and for time-based versions the exact timestamp, clock sequence and node. Also shows the raw bytes, the 128-bit integer and the URN form.

Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.

Convert numbers between binary, octal, decimal, hexadecimal and any base up to 36. Type into any field and the others update as you go. Handles huge integers without losing precision and accepts 0x, 0b and 0o prefixes.

Convert between scientific notation and full numbers as you type. Reads 1.23e5, 1.23 × 10^5 and plain numbers, shows the value written out, in normalized scientific notation and in engineering notation, and can round to any number of significant digits.

About the Unicode Character Inspector Tool

This tool takes any text apart, character by character. It splits the input into grapheme clusters, the units your eye reads as one character, and expands each cluster into the codepoints it is really made of. An emoji family stays one visual chip, and a click shows the man, woman, girl and the zero-width joiners gluing them together.

Every codepoint reports its official Unicode name, block, general category, UTF-8 bytes, UTF-16 code units and decimal value, plus ready-to-paste escape forms for JavaScript, CSS and HTML. Each value has its own copy button.

What you can do

  • Find out what character is hiding behind a strange glyph.
  • Look up the official Unicode name and block of any character.
  • See the codepoints inside an emoji ZWJ sequence or flag.
  • Get the UTF-8 bytes and UTF-16 code units of a character.
  • Copy the JavaScript, CSS or HTML escape for a codepoint.
  • Count characters, codepoints and UTF-8 bytes of a text.
  • Spot unpaired surrogates in broken text.

How to use the Unicode Character Inspector

  1. 1Paste or type your text, or load the example line.
  2. 2Read the summary for character, codepoint, byte and block counts.
  3. 3Click a character chip. Invisible characters show a placeholder, multi-codepoint clusters carry a small count.
  4. 4In the inspector, pick a codepoint of the cluster and copy any value: name, block, category, encodings or escapes.

Characters, codepoints and bytes are different counts

What looks like one character on screen is often several codepoints. A family emoji can be seven, a flag is two regional indicators, and an accented letter may be a base letter plus a combining mark. Each codepoint in turn becomes one to four UTF-8 bytes, and astral codepoints such as emoji take two UTF-16 code units, which is why "👨".length is 2 in JavaScript. The summary shows all four counts side by side so you can see exactly where a length check and what you see on screen disagree.

For plain word and sentence counts use the Word & Character Counter. If you suspect the text carries hidden characters that should not be there, the Invisible Character Revealer finds and removes them.

Honest about broken input

Text copied out of logs or binary files sometimes contains unpaired surrogates, UTF-16 halves that are not valid characters on their own. The inspector shows them in their own color with their surrogate label and points out that encoders replace each one with U+FFFD. Very long inputs are handled too: the summary always covers the whole text, and the character grid shows the first 500 characters so the page stays responsive.

Tools that share a tag with this one.

Encode and decode Base16, Base32, Base36, Base45, Base58, Base62, Base64 and Base85. Pick the alphabet variant you need, from Crockford Base32 to Bitcoin Base58 and Ascii85, and convert in either direction.

Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.

Format code in JavaScript, TypeScript, JSON, JSON5, HTML, Vue, CSS, SCSS, LESS, Markdown, YAML, GraphQL, XML and SQL. Pick tabs or spaces, set the indent width, and format the input in place with one click.

Open a CSV or TSV file and read it as a proper table. Sort by any column, filter rows with a search or per-column conditions, hide columns you do not need, and copy or download what is left.

Remove duplicate lines from a list or text, keeping the first occurrence. Optionally ignore case and whitespace, or drop blank lines too.

Replace text in two modes: plain find and replace all, or regular expressions with flag controls and capture group references like $1.