URL Encoder/Decoder
Encode and decode URLs
Last updated:URL encoding (percent encoding) replaces special characters in a URL or query string with their %XX escape sequences so they can be safely transmitted in HTTP requests. LlamaPDF encodes and decodes via the browser's encodeURIComponent and decodeURIComponent APIs entirely in your tab. Reversible at any time.
Your file stays on your device — never uploaded
How to encode or decode a URL
- 1
Paste your URL or text string into the input field above.
- 2
Choose whether to encode (convert special characters to percent-encoded format) or decode (convert percent-encoded sequences back to readable characters).
- 3
Your result appears instantly. Copy it to your clipboard with one click. The encoding and decoding happen in your browser with no server requests.
Why use our URL encoder?
URLs cannot contain spaces, special characters, or non-ASCII characters directly — they need to be percent-encoded to work reliably in web browsers, APIs, and email links. Incorrectly encoded URLs cause broken links, failed API requests, and tracking issues. This tool handles the encoding precisely and bidirectionally, so you can encode text for use in URLs or decode percent-encoded strings back to readable form without memorizing encoding rules.
Everything runs in your browser with no data sent to any server. Working with HTML content instead? Our HTML entity encoder handles that. For Base64 transformations, check out the Base64 encoder and decoder. If you need to embed encoded URLs in a QR code, use our QR code generator.