← All tools
// Encoding

URL Encoder / Decoder online

Encode or decode URL percent-encoded strings - handles Unicode

URL Encoder / Decoder logo
by
CHUNKY
MUNSTER
// Output
Output will appear here...

How to Use url-encode-decode

  1. Paste a URL or URL component into the input.
  2. Click Encode to percent-encode special characters.
  3. Click Decode to convert percent-encoded sequences (%20, %3D, etc.) back to characters.
  4. Use the component toggle to encode a query-parameter value versus a full URL.

URL Encoder / Decoder allows you to perform both directions of percent encoding on any string or web address. This free online URI tool is built for developers who need to quickly sanitize query parameters or unescape complex tracking links. It correctly handles multi-byte UTF-8 sequences, ensuring that emoji and non-Latin characters are processed without any loss of data.

Advanced URI Manipulation Features

This percent encoding converter supports two distinct modes: component encoding for individual keys and values, and full URI encoding for complete web addresses. You can also easily decode all percent-encoded sequences like %20 or %3D back to their original characters with a single click. The tool operates entirely in your browser, keeping your sensitive URLs and inputs completely private from any external tracking.

Frequently Asked Questions

What is the difference between %20 and + for spaces in URLs?

%20 is the standard percent-encoding of a space character. The + convention is specific to application/x-www-form-urlencoded (HTML form POST bodies and query strings) where + is interpreted as a space. In path segments, + is a literal plus sign, not a space.

Which characters are safe without encoding in a URL?

Unreserved characters that never need encoding: A–Z, a–z, 0–9, -, _, ., ~. All other characters must be percent-encoded when used in positions where they are not their "reserved" structural role.

How are Unicode characters (emoji, Chinese) encoded in URLs?

Unicode characters are first converted to their UTF-8 byte sequence, and then each byte is percent-encoded. The emoji πŸ˜€ is U+1F600 β†’ UTF-8 bytes F0 9F 98 80 β†’ URL: %F0%9F%98%80.

What is IDN (Internationalised Domain Name) encoding?

Domain names are encoded using Punycode (RFC 3492) - not percent-encoding. The domain 例子.com becomes xn--fsqs375a.com in Punycode. URL path and query parameters use percent-encoding; domain names use Punycode.

Whether you are building a custom API request or fixing a broken link, this free online URL encoder / decoder gives you instant and accurate results.