UTF-8 Encoder Decoder

Result
The result will appear here.

What is UTF-8 Encoder Decoder?

The UTF-8 Encoder Decoder shows the byte values behind any text. Encode text into UTF-8 bytes in decimal or hexadecimal, or paste byte values and decode them back into readable text. It is free and works entirely in your browser.

How to use

  1. Choose Text to UTF-8 Bytes or UTF-8 Bytes to Text mode.
  2. Type or paste your input into the box.
  3. For encoding, tick the hex box if you want hexadecimal output.
  4. Click Copy result to copy the output.

Features

  • Encodes text to UTF-8 bytes in decimal or hexadecimal.
  • Decodes decimal or hex byte values back to text.
  • Handles emoji and characters from all languages.
  • Clear error messages for invalid byte input.
  • Free, private, and no signup required.

Frequently asked questions

What is UTF-8 encoding?

UTF-8 is the most common way to store text as bytes. Every character is stored as one to four bytes. Plain English letters use one byte each, while emoji and many non-English characters use more.

How do I encode text to UTF-8 bytes?

Select Text to UTF-8 Bytes mode and type your text. The tool shows each byte as a decimal number, or as hexadecimal if you tick the hex option.

How do I decode bytes back to text?

Select UTF-8 Bytes to Text mode and paste byte values separated by spaces, like "72 101 108 108 111". Hex values like "0x48" also work.

Is this tool free?

Yes, it is free with no signup and no limits.

Can it handle emoji?

Yes. Emoji are multi-byte characters in UTF-8, and the tool encodes and decodes them correctly.

Is my input sent to a server?

No. Encoding and decoding happen in your browser with JavaScript, so your text never leaves your device.

Related tools