Skip to content

URL Encode/Decode

Free

Encode and decode URL components and full URLs

urlencodedecodepercent
All Developer Tools

How it works

1

Enter

Type or paste the string you want to encode or decode into the input field.

2

Convert

Choose Encode to make the string URL-safe, or Decode to restore the original text.

3

Copy

Copy the result to use in URLs, query parameters, or API requests.

Frequently asked questions

What characters does URL encoding convert?+
URL encoding converts characters that are not allowed in URLs, including spaces, ampersands, question marks, and non-ASCII characters. Each is replaced with a percent sign followed by its hex code.
Is my data processed on a server?+
No. Encoding and decoding runs entirely in your browser. Your text never leaves your device, so you can safely encode API keys, tokens, or any sensitive query parameters.
What is the difference between encodeURI and encodeURIComponent?+
encodeURI encodes a full URL but leaves characters like : / ? # intact. encodeURIComponent encodes everything, making it safe for individual query parameter values.
Can I decode a full URL with multiple parameters?+
Yes. Paste the entire URL and the tool will decode all percent-encoded characters, making the query string human-readable again.