Free tools that run in your browser. Use any tool without an account.

Favourites Cart
Sign in
Join free

Unicode Converter

encode and decode text

  • Free
  • Runs in your browser
  • No account needed

This tool converts text to U+ code points, \u escapes or HTML entities and decodes escapes back to text. For example, the string "A€" becomes U+0041 U+1F60A U+20AC and \u0041\uD83D\uDE0A\u20AC. It runs locally in your browser.

Unicode Converter runs in your browser. Your text is never uploaded or stored.

Runs in your browser. Your files and values are not sent to us. Report a problem
Advertisement

About the Unicode Converter

This is a small, in-browser text converter you use to turn characters into common Unicode escape formats and back again. You paste or type text, pick an output format and get a copyable result instantly. People use it for web development, JSON or JavaScript string preparation, debugging pasted escapes, and checking how specific characters encode. The page does not upload your input; all processing happens in your browser once the page has loaded. Compared with heavyweight converters, this tool focuses on five clear options so you can work fast: code points (U+), full \u escapes, non-ASCII-only \u escapes, non-ASCII HTML numeric entities, and decoding escapes to text. It gives a quick, private way to convert or decode escapes without showing per-character byte tables or full Unicode names.

How to use it

  1. 1Paste or type your text into the input box
  2. 2Choose one of the options: Code points (U+), \u escapes (all), \u escapes (non-ASCII only), HTML entities (non-ASCII only), or Decode to text
  3. 3Click Convert to produce the output
  4. 4Click the copy button to copy the result to your clipboard
Advertisement

Worked example

Input: A€ Code points (U+): U+0041 U+1F60A U+20AC \u escapes (all): \u0041\uD83D\uDE0A\u20AC \u escapes (non-ASCII only): A\uD83D\uDE0A\u20AC HTML entities (non-ASCII only): A😊€ Decode to text (from \u escapes): A€

How it works

Text tool that runs in the browserOptions: Code points (U+), \u escapes (all), \u escapes (non-ASCII only), HTML entities (non-ASCII only), Decode to textOne click copies the outputNothing typed is uploaded

Source: The Unicode Standard, chapter on encoding formsRFC 3629: UTF-8, a transformation format of ISO 10646RFC 8259: The JSON Data Interchange Format. Last checked 7 November 2026.

What it is good for

  • Runs entirely in your browser for privacy
  • Produces copyable output with one click
  • Covers the common formats you need for web and code: U+, \u and HTML entities
  • Does not show per-character Unicode names or UTF-8/UTF-16 byte tables
  • Not a full Unicode reference or validator
Advertisement

Questions people ask

How do I get U+ code points for each character?

Paste your text, pick Code points (U+) and Convert. The tool will list the hexadecimal code point for each Unicode scalar, for example U+0041 for A. This runs locally in your browser.

How do I turn \u escapes back into characters?

Select Decode to text and paste the escape sequence. The tool decodes JavaScript/JSON style \uXXXX sequences and surrogate pairs back into the original characters.

Does this tool send my text to a server?

No. The converter runs client-side in your browser after the page loads. The page does not upload what you type.

Why do some emoji appear as two \u escapes?

Emoji above U+FFFF are represented in UTF-16 using a high-surrogate and low-surrogate. Those become two \uXXXX escapes, for example U+1F60A becomes \uD83D\uDE0A. See the Unicode encoding forms documentation for details.

Which option should I use for JSON strings?

Use \u escapes (non-ASCII only) if you want ASCII-safe JSON strings, or full \u escapes (all) to escape every character. JSON allows \uXXXX escapes as UTF-16 code units under RFC 8259.

Can this show UTF-8 bytes for a character?

No. This tool does not display UTF-8 byte sequences or per-character byte diagnostics. Use a fuller converter like r12a or ManyTools for UTF-8 and byte-level views.

Help keep every tool free

FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.

Advertisement
Advertisement