Skip to main content
Z

UTF-8 Converter — Text to Hex, Decimal & Escape Bytes, and Back

Convert text to UTF-8 hex bytes, decimal bytes, \xAB or \u{HEX} escape sequences — and back.

Free No signup Client-side Privacy friendly Updated

How to use

  1. 1 Pick Text → Bytes (encode) or Bytes → Text (decode).
  2. 2 Choose output format on encode — hex, decimal, \xAB, or \u{HEX}.
  3. 3 Paste input. Decode auto-detects which format you used.
  4. 4 Copy the result.

Why use this tool

  • Four output forms — hex, decimal, C/Python \x escapes, JS \u{} escapes.
  • Smart decode — recognises hex/decimal/\x/\u input automatically.
  • Surrogate-pair safe — codepoint escapes use full Unicode, not UTF-16 units.
  • Pure browser logic, zero dependencies.

Frequently asked questions

What is the difference between \xAB and \u{HEX}?

\xAB is a single UTF-8 byte — multi-byte characters expand to several escapes. \u{HEX} is a Unicode codepoint — one escape per character regardless of UTF-8 length. JS template literals understand \u{...}.

Why does emoji become 4 bytes?

Many emoji live above U+FFFF, so they need 4 UTF-8 bytes. The codepoint escape form (\u{1F680}) shows them as one logical character.

Can it decode mixed formats?

No — input must be all-hex, all-decimal, all-\xAB, or all-\u{} for unambiguous detection. Split mixed input and run each part separately.

Need just Base64?

Use our Base64 Encoder & Decoder — text or file in, Base64 out.

What is UTF-8 Converter?

A UTF-8 Converter is a tool that converts text into its UTF-8 byte representation and back. It can output bytes as hexadecimal, decimal, \xAB escape sequences, or \u{HEX} code-point escapes, and decode those formats back into readable text. The conversions run entirely client-side in the browser, so the input text is never sent to a server.

Summary

UTF-8 Converter is a free 開発者 utility by Zerethon Tools. Convert text to UTF-8 hex bytes, decimal bytes, \xAB or \u{HEX} escape sequences — and back. Runs entirely in the browser — no signup, no upload.

Category
開発者
Pricing
Free
Privacy
Browser-based
Signup
Not required

Privacy

Your data never leaves your browser unless explicitly stated. UTF-8 Converter runs entirely client-side — no server upload, no logging, no tracking of your input.

Compare

Learn the basics

How-to guides

Related tools

Build, share, and grow on Zerethon Social

Free signup. Earn points, collect achievements, and connect with creators worldwide.

Sign up free