Skip to content
AldeaCode Logo
Format100% local · 0 bytes sent

ASCII to Unicode Converter

Convert any text into Unicode code points and back. Three formats supported: decimal numbers, hexadecimal with 0x prefix, and JavaScript escape sequences (\uXXXX). Useful for debugging encoding issues, building lookup tables, or sneaking text past naive filters.

Loading…

How it works

We iterate the input by Unicode code point (so emoji and surrogate pairs survive) and format each as decimal, hex (0x prefix) or JS escape (\uXXXX or \u{...} for astral code points). Decoding accepts whitespace and commas as separators.

How to use it

  1. Paste text or codes

    Drop in plain text to encode, or a list of code points (decimal, hex, JS escapes) to decode back to characters.

  2. Pick the format

    Decimal numbers, hex with 0x prefix, or JavaScript \uXXXX escapes (with \u{...} for astral code points beyond the BMP).

  3. Run the conversion

    Encoding iterates by Unicode code point so emoji and surrogate pairs survive. Decoding accepts spaces and commas as separators.

  4. Copy the result

    Take the codes into a JS source file, a debug log, or a Unicode lookup. Round-trip works lossless if you keep the same format.

Use cases

Debug encoding issues by reading the actual code points.

Build a JavaScript string with explicit \uXXXX escapes.

Inspect what an emoji or rare glyph really is.

Round-trip text through hex codes for safe transport.

Your data never leaves your browser

Every utility runs entirely on your device. Nothing is uploaded, nothing is stored on a server. You can disconnect from the internet and they keep working.

Frequently asked questions

Related tools