🔬 Unicode Converter

Convert text to various Unicode representations and decode them back. Handles emoji and surrogate pairs in most formats.

Last updated: November 8, 2026 · By the BoltQuickTools team

Unicode Code Points
JavaScript Escape
HTML Decimal
HTML Hex
CSS Escape
Python Escape
UTF-8 Hex Bytes
UTF-16 Hex

Decode Unicode Back to Text

Paste any encoded format (U+, \u, &#, etc.) and it will be auto-detected and decoded.

See exactly which characters a string contains

A pasted value fails a comparison, a CSV shows odd symbols, or you need an emoji written as an escape in source code. Those problems come down to the actual code points and bytes in the text, which an editor does not show. This page lays them out in the notations developers use.

Encoding, decoding and inspecting

Type into Input Text and eight cards fill in as you type: Unicode Code Points, JavaScript Escape, HTML Decimal, HTML Hex, CSS Escape, Python Escape, UTF-8 Hex Bytes and UTF-16 Hex. Each has its own Copy button. The buttons Hello World, Emoji Test and CJK Sample load test strings.

To go the other way, paste into the box under Decode Unicode Back to Text. It decodes as you type or when you press Decode, and it names the format it detected. The Character Inspector table lists each character with its code point, bytes and a category.

Example: H, e with an accent, and an emoji

The three-character input Hé😀 produces:

CardOutput
Unicode Code PointsU+0048 U+00E9 U+1F600
JavaScript Escape\u0048\u00E9\u{1F600}
HTML DecimalHé😀
HTML HexHé😀
CSS Escape\0048\00E9\1F600
Python Escape\u0048\u00e9\U0001f600
UTF-8 Hex Bytes48 C3 A9 F0 9F 98 80
UTF-16 Hex0048 00E9 D83D DE00

The bytes show why string lengths disagree between systems: that is 3 code points, 4 UTF-16 units and 7 UTF-8 bytes.

Where the output needs care

How decoding picks a format

The checks run in a fixed order and the first match wins, which has some consequences:

Questions about text encoding

Why do my UTF-8 bytes decode to replacement symbols?

The hex decoder expects complete UTF-8 sequences. If a multi-byte character has been cut off, the browser's decoder puts a replacement character in its place.

Does this cover named entities like é?

No. It handles numeric entities only. The HTML entity tool handles named ones, and percent-encoded text such as %C3%A9 belongs in the URL encoder.

Where can I read more about encodings?

The character encoding article explains how code points, UTF-8 and UTF-16 relate.