Neatbo.

Unicode escape

Convert Unicode escapes into readable text and back.

Browser-local processingInputTextOutputEscaped text
  1. 1Add input
  2. 2Adjust settings
  3. 3Get your result

Tool input and files are processed in this browser without being uploaded.

Your input

Inputs are kept temporarily in this tab when switching tools. Refreshing or closing clears them; large results may need to be regenerated.

⌘ / Ctrl + Enter to run
0 characters · 0 bytes
Options

Complete the required options first. You can keep the defaults for the rest.

Preparing the tool…

Before you start

Convert text to JavaScript-style Unicode escapes and back. Surrogate pairs are handled explicitly, while malformed escapes and unpaired surrogates are rejected.

How to use this tool

  1. Paste text or JavaScript-style Unicode escapes, including surrogate pairs.
  2. Choose Encode or Decode; the printable-ASCII option applies only when encoding.
  3. Check the characters or escapes, then copy or download the result.

Supported inputs and limits

Pasted text is limited to 1 MiB; review the result before using it.

Worked example

Example input

A中文😀
Example options
{}

Example output

A\u4e2d\u6587\ud83d\ude00

When something does not work

Use the documented input format and keep values within the displayed limits. Review the result before using it in another document or application. Editing the input marks the previous result as stale; a failed run clears it.

Frequently asked questions

Are my files uploaded?

No. Files and tool input are processed in your browser. Moving around the site can keep a temporary workspace in the same tab. Refreshing or closing the tab clears it, so download results you want to keep.

What should I check in this result?

Convert text to JavaScript-style Unicode escapes and back. Surrogate pairs are handled explicitly, while malformed escapes and unpaired surrogates are rejected.

Documentation & further reading

Related tools