URL Encode UTF-8 and Unicode

Percent-encode accents, non-Latin letters and emoji as UTF-8 bytes. See why café becomes caf%C3%A9.

Part of the free URL Encoder. Runs in your browser — nothing is uploaded.

URL Encode UTF-8 and Unicode

Percent-encoding is defined on bytes. Modern URLs encode text as UTF-8 first, so é (U+00E9) becomes the two bytes C3 A9 and then %C3%A9. The same rule applies to emoji and CJK characters.

Worked example: Accented text and an emoji

Text

café ☕

Encoded

caf%C3%A9%20%E2%98%95

Practical tip

If a server shows mojibake, it decoded the bytes as Latin-1 instead of UTF-8. Re-encode as UTF-8 or fix the server charset.

How to use this URL Encoder

  1. 1Use the live tool above — it runs entirely in your browser and never uploads your data.
  2. 2Paste the sample from the worked example, or use your own input.
  3. 3Copy the result, then adapt the same steps in your editor, script, or pipeline.

URL Encode UTF-8 and Unicode FAQs

Why is é two percent-escapes?

UTF-8 uses two bytes for U+00E9. Each byte becomes a %HH sequence.

Can I put raw Unicode in a URL?

Browsers display Internationalized Resource Identifiers, but the wire format is still percent-encoded UTF-8.