URL Encoder & Decoder

Encode text into URL-safe percent-encoding or decode percent-encoded URLs back to readable text. Handles unicode characters correctly.

About this tool

Encode any text into percent-encoded URL format, or decode a percent-encoded URL back to human-readable text, with a single click.

Developers use this constantly for query parameters, API paths and building links programmatically. The encoder is UTF-8 aware, so international characters and emoji round-trip perfectly.

FAQ

What is URL encoding?

It replaces unsafe characters with a percent sign and their hex code, so spaces, unicode and reserved characters can travel safely inside a URL.

Why does %20 appear instead of spaces?

Spaces are not valid in URLs; %20 is their percent-encoded form. Browsers do this automatically, but copy-pasting raw URLs into code often needs it explicit.

Does it handle emoji and Chinese?

Yes — encodeURIComponent operates on UTF-8, so emoji, Chinese and accented characters encode and decode correctly.

Related tools