URL Encoder
Replace spaces, symbols and non-English characters with percent codes such as %20, so your link or parameter works safely in browsers, APIs and forms.
Safely encode or decode URLs and query strings in one click. Fast, free and no signup.
Select Encode to make text URL-safe or Decode to read it.
Type or paste a URL or text. The result updates instantly.
Copy the output or save it as a text file.
Looking for a free URL encoder and decoder? Convert special characters in links and query strings into percent-encoded format, or decode them back to readable text. The tool runs in your browser, supports UTF-8 characters, and lets you choose between component and full URL encoding. No installation and no account needed.
Replace spaces, symbols and non-English characters with percent codes such as %20, so your link or parameter works safely in browsers, APIs and forms.
Paste an encoded URL or query string and read the original text instantly. Broken percent sequences show a clear error message.
Use Component mode for single values and Full URL mode when you want to keep the structure of the link, such as slashes, question marks and ampersands.
URL encoding, also called percent encoding, converts characters that are not allowed or have a special meaning in a URL into a safe format. Each unsafe character is replaced with a percent sign followed by two hexadecimal digits. For example, a space becomes %20.
Encoding keeps your data intact when it travels through links, query strings, redirects and API requests.
Component mode (encodeURIComponent) encodes almost every special character, including slash, question mark, ampersand and equals sign. Use it for a single parameter value, for example a search term inside a query string.
Full URL mode (encodeURI) leaves the characters that give a URL its structure untouched. Use it when you have a complete link that only contains spaces or non-English characters.
Quick answers about encoding and decoding URLs and query strings.
Select Encode, paste your text or link in the input box and the percent-encoded result appears right away. Copy it or download it as a file.
Switch to Decode mode and paste your encoded URL or query string. The readable text is shown in the result box.
Both represent a space. %20 works everywhere in a URL, while + is only valid in the query string of form data. Turn on Use + for spaces if you need the form style.
Use Component for a single value, such as a search term. Use Full URL for a complete link where you want to keep characters like slash, question mark and ampersand.
Yes. Text is processed as UTF-8, so Urdu, Hindi, Arabic, emojis and other special characters encode and decode correctly.
This happens when the text has a percent sign that is not followed by two valid hexadecimal digits, or when the encoded bytes are not valid UTF-8. Check the input for missing or broken sequences.
No. URL encoding only changes how characters are written. Anyone can decode it, so it does not protect sensitive data.
No. The conversion runs entirely in your browser, so your data stays on your device.
Format, encode and hash data in seconds. Explore everything in one place.
All Tools