URL Encode / Decode
This free URL encode / decode tool percent-encodes text so it's safe to drop into a link, or decodes an encoded URL back to readable characters. Paste your text, pick a direction, and copy the result — everything runs on your device, so nothing is ever uploaded.
How to use URL Encode / Decode
- 1 Paste or type your text or URL into the input area.
- 2 Click Encode to percent-encode it, or Decode to turn an encoded string back to plain text.
- 3 The result updates instantly and re-runs as you keep editing the input.
- 4 Copy the result with one click, or hit Clear to start over.
Frequently asked questions
Is my text uploaded to a server when I encode or decode it?
No. The tool uses your browser's built-in encodeURIComponent and decodeURIComponent functions, so all processing happens locally. Nothing you paste ever leaves your device.
Why do I get an 'invalid input' error when decoding?
Decoding fails when the string contains a malformed percent-escape — for example a stray % that isn't followed by two valid hex digits. Check that every %XX sequence is complete and try again.
What's the difference between encoding and decoding a URL?
Encoding replaces characters like spaces, &, ? and / with percent-escapes such as %20 so they can travel safely inside a URL. Decoding reverses that, turning the escapes back into the original readable characters.
Does the URL encoder work offline?
Yes. PDFPowerHub is a PWA, so once the page has loaded once it keeps working with no internet connection.