https://devtools.solutions/tools/encoding/unicode-escape.html

Unicode Escape

Escape Unicode characters in your text to \uXXXX sequences for use in source code.

Frequently Asked Questions

What can I encode and decode here?

You can run Base64 encode/decode and URL encode/decode operations on text values.

Can this help with API debugging?

Yes. It is useful for testing query parameters and encoded payload values.

Is encoded data uploaded anywhere?

No. All encoding and decoding happens in-browser.

Example input/output

Input: Hello, 世界

Output: Hello, \u4e16\u754c

How it works

This tool iterates over each character in the input string and escapes any character with a code point above 127 using the \uXXXX format. ASCII characters are left unchanged. Processing runs in your browser.

Common use cases

Related tools