Best use
Use it for a focused JavaScript Unicode Escape Converter task when a quick browser workbench is appropriate.
Convert text to JavaScript Unicode escape forms and decode \uXXXX, \u{...}, and \xNN sequences, including supplementary code points.
This tool distinguishes three JavaScript string forms: \xNN for a byte-sized code unit, \uXXXX for a UTF-16 code unit, and \u{1F600} for a Unicode code point. Characters outside the Basic Multilingual Plane can be represented as one code-point escape or as a UTF-16 surrogate pair.
中 → \u4e2d😀 → \u{1f600}\uD83D\uDE00 decodes as the same emoji when the pair is preserved.Escaped text is still text, not encryption. Confirm whether the receiving parser accepts code-point escapes; JSON, older JavaScript runtimes, Java properties files, and regular-expression literals do not all support the same syntax.
JavaScript Unicode Escape Converter is for this task: Convert text and JavaScript Unicode escapes, including code-point, UTF-16, and hexadecimal forms. It runs in the browser; start with a short, non-sensitive sample and confirm the behavior before processing more data.
Use it for a focused JavaScript Unicode Escape Converter task when a quick browser workbench is appropriate.
text, an encoded string, or the data format named by the tool
an encoded, decoded, or compatibility-check result
For JavaScript Unicode Escape Converter: Confirm the character set, byte boundary, and target protocol. Encoding is not encryption. See the test method.