Unicode Escape Converter (\u, &#x;, U+)
Convert text to \uXXXX, \u{…}, HTML entities or U+ codes, and decode them back to text.
Tool inputs stay in your browser · optional AI search sends your query
Good to know: Escapes let you write any character (ñ, ₱, emoji) using only basic ASCII letters, for code, JSON or HTML.
How to use it (step by step)
- 1Type or paste your text into the “Text or escapes” box. There is already an example in it so you can see how it works; press Clear to start with your own.
- 2Choose your settings: “Direction”, “Format”, “Only non-ASCII characters”.
- 3The answer appears right away in the “Result” box. No button needed.
- 4Press Copy and paste the result wherever you need it.
Words to know
- HTML
- The code language web pages are written in.
- Escape / unescape
- Adding a backslash or code before special characters (like quotes) so they do not break your code. Unescape turns them back.
- Unicode / UTF-8
- Unicode gives every character (A, ñ, ₱, 😀) a number. UTF-8 is how those numbers are stored as bytes.
- JSON
- A common text format apps use to store and send data, made of names and values in { } brackets.
More in Developer
Regex TesterTest a regular expression and see every match and group live.Unix Timestamp ConverterConvert epoch seconds/milliseconds to a date and back.Number Base ConverterBinary, octal, decimal and hexadecimal in one step.Strip HTML TagsRemove all HTML tags and keep the readable text.Markdown to HTMLConvert Markdown headings, lists, links and code to HTML.Text to BinaryConvert text to 8-bit binary and binary back to text.