Developer

URL Encoder & Decoder

Percent-encode text for use in a URL, or decode an encoded link back into readable text — instantly, with clear messages when the input is not valid.

Live converter

Encode or decode a URL

Updates instantly

Plain text

0 characters

Encoded

0 characters
EncodingMode
0Input length
0Output length
ValueScope
Nothing is uploaded

Encoding and decoding run in your browser, so tokens and private links never leave your device.

What is URL encoding?

URLs may only contain a limited set of characters. Anything else — spaces, accents, emoji, and reserved symbols such as ?, & and / — is written as a percent sign followed by its byte value in hexadecimal. A space becomes %20, and & becomes %26.

Value or whole URL?

Encoding a value escapes the reserved characters too, which is what you want when placing text inside a query parameter. Encoding a whole URL leaves the structural characters alone so the link still works — use it to make an existing address safe without breaking it.

Example

hello world & more encodes to hello%20world%20%26%20more, or hello+world+%26+more with plus-style spaces.

Good to know

Frequently asked questions

When should I use the “whole URL” option?

Use it when you have a complete address and only want unsafe characters escaped. Use the value option when the text goes inside a query parameter.

Why do I get an error when decoding?

A percent sign must be followed by two hexadecimal digits. A stray % or a truncated sequence makes the text impossible to decode.

What is the plus sign option for?

HTML forms encode spaces as + rather than %20. Turn it on when working with query strings produced by a form.

Is my data sent anywhere?

No. Conversion uses your browser's built-in functions and nothing is uploaded.