UTF-8 Encoder and Decoder

See the exact bytes behind any character, or fix garbled text by decoding the raw bytes.

How to use the UTF-8 Encoder and Decoder

  1. Type or paste your text into the box on the left.
  2. Adjust the options above if you need to. The result updates as you type.
  3. Click Copy result or Download to use your result.

What you can use it for

  • Debug encoding problems and mojibake
  • Inspect emoji and accented characters
  • Prepare byte strings for code

Private by design

The UTF-8 Encoder and Decoder runs entirely in your browser. Your text and files are never uploaded or stored on a server, so it is safe for work documents and personal information. It is free, with no sign-up and no limits on how often you use it.

Frequently asked questions

Why does é take two bytes?

UTF-8 uses one byte for basic ASCII and two to four bytes for other characters.

What does "’" mean?

It is an apostrophe whose UTF-8 bytes were read as another encoding. Decoding the bytes correctly fixes it.