URL Encoder / Decoder

Percent-encode or decode URLs and query strings.

Runs instantly in your browser — results update as you type.

What is URL encoding?

URL encoding (percent-encoding) replaces characters that are not allowed in a URL with a % sign followed by their hexadecimal byte value — a space becomes %20 and é becomes %C3%A9. Decoding reverses it so the text is readable again.

How to use the URL Encoder / Decoder

    Frequently asked questions

    What does %20 mean in a URL?

    %20 is the percent-encoded form of a space character. Browsers display it as a space, but it must be sent as %20 because raw spaces are not allowed in URLs.

    What is double encoding?

    Double encoding happens when already-encoded text is encoded again, so % becomes %25 and %20 turns into %2520. Decode the string twice to recover the original.

    Is URL encoding the same as encryption?

    No. Encoding only changes the format so it is URL-safe; anyone can decode it. Never use URL encoding to hide sensitive data.

    Should I encode the whole URL or just the parameters?

    Encode each parameter value with encodeURIComponent. Encode a complete URL with encodeURI only when you need to keep its slashes, question mark and ampersands.

    Does this tool upload my text?

    No. Encoding and decoding happen entirely in your browser.