UTF-8 Bytes Encode & Decode

View the UTF-8 bytes (hex) of text and reassemble back to text. This tool does both encode and decode on one page — just pick a mode, paste your text, and click. Everything runs on your device, nothing is sent to a server.

The result will appear here…
or press Ctrl+Enter

Everything runs in your browser. Your data is never sent to our servers.

728 × 90Ad Space AvailablePlace your ad here

Example

Example Input

café

Example Output

63 61 66 c3 a9

How to Use

  1. 1Choose Encode or Decode mode at the top.
  2. 2Type or paste your text into the Input field.
  3. 3Click the button (or press Ctrl+Enter) to process. The result appears in the Output field.
  4. 4Click Copy to copy the result, or "Swap input/output" to quickly reverse the operation.

About UTF-8 Bytes

The UTF-8 tool shows the UTF-8 bytes of your text in hexadecimal, space-separated, and can reassemble them back to text. UTF-8 is the dominant encoding on the web.

How it works: TextEncoder turns text into UTF-8 bytes (ASCII characters = 1 byte, others = 2–4 bytes). Decode reads the hex bytes back into text with TextDecoder.

Viewing UTF-8 bytes helps you understand how multibyte characters (emoji, non-Latin scripts) are stored, and helps debug cross-system encoding issues.

FAQ

Can this UTF-8 Bytes tool both encode and decode?

Yes. This is a single page with a toggle — use Encode mode to transform text, and Decode mode to reverse it. No need for two separate pages.

Is my data sent to a server?

No. UTF-8 Bytes is processed entirely in your browser. The text you enter never leaves your device.

Related Tools

Related Categories