Developer tools
URL Encode and Decode Online (Percent-Encoding)
Encode text for a URL or decode %20-style percent-encoding back to readable text, as you type. Paste a full link to see its query parameters listed and decoded. Nothing leaves your device.
Encodes every character that has a special meaning in a URL, including / ? & = and #. Use it for a single query value or path segment.
Encoding happens on your device. Nothing you paste is sent anywhere.
How to use the URL Encode / Decode
- Choose Encode or Decode.
- When encoding, choose whether it's a single value or a whole URL.
- Paste your text. Copy the result, or press Swap to reverse it.
Frequently asked questions
- What is URL encoding?
- Web addresses can only contain certain characters. URL encoding (also called percent-encoding) writes everything else as % followed by two hex digits, so a space becomes %20 and é becomes %C3%A9.
- Should I encode a value or a whole URL?
- Encode a value when you're putting text into one part of a link, such as a search term after ?q=. That also encodes / ? & and =. Encode a whole URL to fix spaces and accents in a link while keeping its structure.
- Why is a space sometimes + instead of %20?
- Web forms send spaces as +. Both mean a space in query strings; turn on the + option to match the style you need.
- Why does decoding fail?
- A % must be followed by two hex digits, and the codes must form valid UTF-8 text. The error message points to the first part that doesn't.
- Is my text sent anywhere?
- No. Encoding and decoding happen on your device.
Related tools
- Base64 Decode and EncodeDecode Base64 to readable text or encode text to Base64 as you type, with full support for accents and emoji (UTF-8) and the URL-safe variant. You can also turn a file into Base64 or save decoded Base64 as a file. Everything stays on your device.
- URL Slug GeneratorTurn a title or any text into a clean, lowercase URL slug like "my-first-blog-post". Accents are converted (café becomes cafe), symbols are removed, and you can drop small words or set a maximum length.
- JWT DecoderPaste a JSON Web Token to see its header and payload as readable JSON, with the issued, not-before and expiry times shown as dates and whether it has expired. The token is decoded on your device and never sent anywhere.