Unicode Escape Converter

Convert text to Unicode escapes like \u00e9, \u{1F680}, U+1F680, HTML entities or UTF-8 bytes, and decode them back. Shows code points and byte values for each character.

  • Free, no sign-up
  • Runs in your browser
  • Your data stays private

How to use the Unicode Escape Converter

  1. Type text, or paste escape sequences to decode.
  2. Choose the escape style.
  3. Copy the result or check the character table.

Why use this Unicode Escape Converter

  • Seven styles\uXXXX, \u{...}, U+XXXX, HTML decimal and hex, \x bytes and %XX bytes.
  • Surrogate pairsEmoji are escaped correctly as two UTF-16 units in JavaScript style.
  • Auto decodeDecodes any mix of the supported escape styles in one pass.
  • Character tableCode point, UTF-16, UTF-8 bytes and HTML entity for each character.

Frequently asked questions

How do I convert text to \u escapes?

Choose the \uXXXX style. Non-ASCII characters are escaped and plain ASCII stays readable.

How are emoji escaped?

JavaScript style uses a surrogate pair such as \ud83d\ude80. ES6 style uses \u{1f680}.

How do I see the UTF-8 bytes of a character?

The character table lists them, or pick the \x or % style to get the bytes directly.

Related tools

More Developer Tools

User Reviews

–
No ratings yet
Write a review
Your rating *

Your email is never published. Reviews are moderated, and links aren't allowed.

What users are saying

No reviews yet

Be the first to share your experience with this tool — your feedback helps others.