URL Encoder / Decoder
Encode or decode URLs and query strings.
How to encode or decode a URL
Paste a URL or text and switch between encoding and decoding. Encoding converts spaces and special characters into percent-codes (like %20) so they travel safely inside a web address; decoding turns those codes back into readable text. It's an everyday tool for developers building links, query strings and API requests.
When URL encoding is needed
URLs can only contain a limited set of characters, so anything else — spaces, ampersands, accents, slashes inside a value — must be percent-encoded to avoid breaking the link or the request. Decoding is just as useful for reading a tracking link or debugging a parameter. Everything runs in your browser, so your data is never uploaded.
Related Tools
Frequently Asked Questions
When should I URL encode text?
Encode text before placing it in a URL query string or path where spaces and special characters are not allowed.
Can it decode encoded URLs?
Yes. Paste encoded text and click Decode to convert percent-encoded characters back to readable text.
Which characters get encoded?
Spaces, slashes, question marks, ampersands, and other reserved characters become percent-encoded values like %20 so URLs stay valid.
Is my text uploaded?
No. Encoding and decoding run locally in your browser, so the text you paste never leaves your device.