Convert Unicode text and \uXXXX escapes
Use the tool to convert text to \uXXXX escapes or convert escape sequences back to text. Enter or paste content in the input area, then review the result in the read-only output area.
Use the converter
- Enter or paste text or
\uXXXXsequences in the input area. - Select Auto-detect, Text → \uXXXX, or \uXXXX → Text.
- Review the result in the output area.
- Use Copy or Download to take the result with you.
The page also provides Upload and Drop file controls for file input.
Adjust the conversion options
- Use Auto-detect when you want the page to choose between encoding and decoding. If the result is not the conversion you need, select an explicit mode.
- Use Non-ASCII only to change the conversion options. The page does not document the checkbox's exact character rule, so check the output before copying it.
Inspect unusual characters with Reveal Gremlins
Select Reveal Gremlins to open the Gremlin Analysis panel for the input. Use the displayed analysis to inspect characters that are difficult to see in the original text. The page does not document the complete detection list or state that this control removes characters, so use a separate cleanup tool if you need to change the input.
Examples and encoding details
\u0041representsA.\u00E9representsé(U+00E9).\uXXXXuses four hexadecimal UTF-16 units. Characters aboveU+FFFFmay require surrogate pairs; the page does not document the exact output for every such character.
Limitations and failure cases
The local page does not state how malformed, incomplete, mixed-case, or non-four-digit escape sequences are handled. It also does not state accepted upload file types, file behavior, or input and file-size limits. If a conversion is unclear, use an explicit mode, compare the output with the original input, and test supplementary-plane characters separately.
Frequently Asked Questions (FAQs)
What is a \uXXXX Unicode escape sequence?
\uXXXX is a four-hexadecimal-digit escape form. For example, \u0041 represents the letter A and \u00E9 represents the character U+00E9 (é). Characters outside this four-digit range may use more than one UTF-16 unit.
What does Reveal Gremlins do?
Reveal Gremlins opens the Gremlin Analysis panel for hidden characters in the input. The page does not document the complete character list or exact detection rule, so treat the panel as an inspection aid rather than a complete Unicode audit.
Why is my code failing for no reason?
If the input looks correct but behaves differently than expected, paste it into the input area and select Reveal Gremlins. The analysis panel can help you inspect hidden characters. You can also convert the text to or from \uXXXX escapes to make the content easier to inspect.
What does Non-ASCII only do?
The Non-ASCII only checkbox is enabled by default. The page provides this option for the conversion, but the local implementation does not provide a readable description of its exact character rule. Compare the output with the checkbox enabled and disabled before choosing a result.
Does this tool handle supplementary plane characters (emoji, rare scripts)?
The page does not document the exact output for supplementary-plane characters. Characters above U+FFFF may require surrogate pairs in UTF-16, so check the generated result when working with emoji or rare scripts.
Does the page state how uploaded files and input limits work?
No. The visible page provides an input area, an upload button, and a drop area, but it does not state accepted file types, file-size limits, or input-size limits. It also does not provide an auditable local description of its data path, so this page does not make a privacy guarantee.