WordInstant

Unicode converter.

Convert text to and from \uXXXX / \u{XXXXX} escape sequences. Inspect every code point, including emoji and CJK.

Tool 21EncodersLive100% local
§ Inside the glyph

Every code point.

See exactly which code points your string contains and produce escape sequences ready to paste into JS, JSON, or CSS.

What is the difference between \uXXXX and \u{XXXXX}?

\uXXXX is the original 4-digit form — works for code points up to U+FFFF. \u{XXXXX} is the ES2015 brace form, required for astral plane characters like most emoji (e.g. \u{1F600}).

Why does an emoji like 🌿 show one code point but not in legacy strings?

String iteration in legacy JavaScript is UTF-16 unit by unit, so 🌿 looks like two characters. Modern iteration (used by this tool) yields one code point per glyph for non-combined emoji.

Can I encode only non-ASCII characters?

Not yet — the tool encodes every character. Run the output through a quick regex (`\\u00[2-7]\d` etc.) if you only want to keep escapes for the non-ASCII range.