Unicode Converter
Convert text to Unicode escape sequences and back.
About Unicode Converter
Unicode Converter transforms text to and from multiple Unicode escape notations used by different programming languages and markup standards: JavaScript and Java \uXXXX sequences, Python \uXXXX and \UXXXXXXXX for supplementary planes, HTML decimal (&#NNNNN;) and hexadecimal (&#xXXXX;) entities, CSS \XXXX sequences, and raw U+XXXX code point notation. It also shows the UTF-8 and UTF-16 byte representations for each character, enabling deep inspection of how characters are encoded at the binary level. This is invaluable for debugging internationalization code, generating locale-safe string literals, and understanding cross-platform character encoding behavior.
How to Use
Enter any text in the input field to see its Unicode escape representations in all supported notations simultaneously. Each character is listed with its glyph, Unicode code point (U+XXXX), code point decimal value, Unicode name, UTF-8 byte sequence, and all escape notations. To decode, paste escape sequences in any supported notation and click Decode to recover the original characters. Use the format dropdown to copy the output in a specific notation such as JavaScript string literals or HTML entities.
Common Use Cases
- Converting special characters, arrows, and mathematical symbols to JavaScript \uXXXX escape sequences for embedding in source code strings
- Decoding \uXXXX sequences in minified JavaScript or escaped JSON strings to inspect the actual Unicode characters they represent
- Inspecting emoji and supplementary plane Unicode characters to find their code points for cross-platform rendering compatibility checks
- Converting non-ASCII characters to HTML entities for safe embedding in XML documents and legacy HTML pages without charset declarations
- Debugging character encoding issues by comparing the expected and actual Unicode code point sequences of internationalized string values