Search Tools

URL Encoder/Decoder

Conversion mode

How to encode a URL component

Paste one query value or path segment and choose Encode. For example, coffee & tea becomes coffee%20%26%20tea. That keeps the ampersand inside the value when you add it to a query string. Choose Decode to turn percent-encoded bytes back into readable text.

Which part of a URL should I paste?

Encode the value that follows a parameter's equals sign or the name of one path segment. Encoding an entire URL would escape structural characters such as :, /, and ?, which would stop it working as a link.

Use Escape all characters when you need a percent escape for every UTF-8 byte, including letters and digits.

How are spaces and plus signs handled?

Spaces are encoded as %20. The decoder preserves literal + signs. If you copied a form-encoded value in which plus signs stand for spaces, replace those raw plus signs with spaces before decoding. An encoded plus sign (%2B) decodes to +.

Each action accepts up to 500,000 input characters.