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.

Miễn phí Không cần đăng ký Chạy trên trình duyệt Tôn trọng riêng tư Updated

Cách dùng

  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.

Vì sao dùng công cụ này

  • 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.

Câu hỏi thường gặp

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.

UTF-8 Converter là gì?

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.

Tóm tắt

UTF-8 Converter là công cụ lập trình miễn phí của Zerethon Tools. Convert text to UTF-8 hex bytes, decimal bytes, \xAB or \u{HEX} escape sequences — and back. Chạy hoàn toàn trong trình duyệt — không đăng ký, không tải lên.

Danh mục
Lập trình
Giá
Miễn phí
Quyền riêng tư
Chạy trên trình duyệt
Đăng ký
Không cần

Quyền riêng tư

Dữ liệu của bạn không bao giờ rời khỏi trình duyệt trừ khi được nêu rõ. UTF-8 Converter chạy hoàn toàn phía client — không tải lên máy chủ, không ghi log, không theo dõi dữ liệu bạn nhập.

So sánh

Kiến thức cơ bản

Hướng dẫn

Công cụ liên quan

Build, share, and grow on Zerethon Social

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

Try Zerethon free