How to encode or decode text online
Paste any text and convert it between plain text, Unicode escapes (\uXXXX), UTF-8 and UTF-16 byte sequences, and URL percent-encoding — useful for debugging encoding bugs, building regexes or preparing URL parameters.
- Paste the text you want to convert into the input area.
- Pick the encoding direction: to Unicode escapes, to UTF-8/UTF-16 bytes, or to URL percent-encoding — or decode in the opposite direction.
- Copy the converted output with one click.
Frequently asked questions
What is the difference between Unicode escapes and UTF-8?
Unicode escapes (\uXXXX) name a code point — one escape per character. UTF-8 is a variable-length byte encoding where non-ASCII characters take 2–4 bytes. They answer different questions: escapes describe "which character", UTF-8 describes "which bytes on the wire".
What is URL percent-encoding for?
URLs can only carry a limited ASCII set. Percent-encoding (e.g. %20 for a space) lets any character travel safely inside a URL — required for query parameters with spaces, Chinese text or symbols.
Does it support Chinese, Japanese and emoji?
Yes — all encodings here are full Unicode, including CJK text, emoji and other astral-plane characters.
Is the text sent to a server?
No. All encoding and decoding happens locally in your browser.
