Online UTF-8 Unicode Converter

Encode text to UTF-8 bytes or Unicode escapes, and decode hex or escape sequences back to readable text. Inspect bytes, debug encodings, and copy clean, space separated output for reliable reuse.

UTF-8 Converter

About the UTF-8 Converter

UTF-8 is a variable-length encoding that converts Unicode code points into one or more bytes. It is the dominant text encoding on the web today. 🌐🧠 This free online tool lets you convert between human-readable text and its UTF-8 byte/escape representations for inspection, debugging, and learning.

What you can do

  • Encode text into UTF-8 byte sequences or Unicode escape entities.
  • Decode UTF-8 bytes or escape sequences back into readable text.
  • Inspect how ASCII, emojis, and international characters are actually stored.
  • Swap & copy results quickly while experimenting.

How it works

  • Encode offers two output Formats:
    • Entities (default): Unicode escapes like \u0048. Characters outside the BMP use surrogate pairs (e.g. πŸ˜€ β†’ \uD83D\uDE00).
    • Numbers: Raw UTF-8 bytes shown as uppercase hexadecimal, space-separated (e.g. 48 65 6C 6C 6F).
  • Decode reverses the process:
    • From Entities: recognizes \uXXXX, \u{...}, and \UXXXXXXXX
    • From Numbers: parses UTF-8 hex bytes (spaces, comas, continuous hex, optional 0x prefixes)

UTF-8 quick reference

Character Code point UTF-8 bytes (hex) Notes
A U+0041 41 ASCII (1 byte)
Γ© U+00E9 C3 A9 2-byte UTF-8
πŸ˜€ U+1F600 F0 9F 98 80 4-byte UTF-8

Buttons

  • Encode Β»: Encode the left input using the selected format and display it on the right.
  • Decode Β»: Decode the left textarea according to the selected format.
  • Β« Swap Β»: Swap the 2t text areas, the input and the output to continue converting back and forth.
  • Copy Result πŸ“‹: Copy the output on the right to your clipboard.

Examples

  • A β†’ Entities: \u0041 β€’ Numbers: 41
  • πŸ˜€ β†’ Entities: \uD83D\uDE00 β€’ Numbers: F0 9F 98 80
  • Hello β†’ Numbers: 48 65 6C 6C 6F

Tips & notes

  • UTF-8 uses 1 - 4 bytes per character depending on the code point.
  • ASCII characters (0 - 127) map directly to single UTF-8 bytes.
  • Surrogate pairs appear only in UTF-16 escapes, not in raw UTF-8 bytes.
  • Uppercase hex is used here for readability and consistency.

Learn more

Feature 01

Text Paint

online text paint Draw ASCII art on a canvas with unicode characters. Convert image files to text, merge two text documents, rotate, crop and other useful features. TextPaint.com

Feature 02

Text Fancy

fancy text converters Fancy Text converters online to create ASCII art, π–˜π–šπ–•π–Šπ–— πŸ…πŸ…¦πŸ…”πŸ…’πŸ…žπŸ…œπŸ…” Ρ”Ε¦Ε¦Ρ”Ο‚Υ‡ΰΈ£ made with unicode characters. Highlight your messages and social media posts. TextFancy.com

Feature 03

Text Heads

heads and faces with characters Text face Κ•ΰ² ΰ²Ώα΄₯ΰ² Κ” gallery and editor to express emotions (γ€β—‰η›Šβ—‰)぀ and create portraits with plain text. Design your own or pick one from the gallery ( Ν‘~ ΝœΚ– Ν‘Β°) TextHeads.com

Need more features?