◆ DevToolbox

URL Encode / Decode

Percent-encode and decode URL components.

Ad slot (AdSense)

About this tool

URL encoding (percent-encoding) replaces unsafe characters in a URL with a % followed by hex digits, so query strings and parameters transmit correctly. Use Encode before putting text into a URL, and Decode to read an encoded URL. Runs entirely in your browser.

FAQ

When should I URL-encode?

Whenever you put user text, spaces or special characters into a query string or path so the URL stays valid.

What's the difference from Base64?

URL encoding keeps text readable and only escapes unsafe characters; Base64 turns everything into an ASCII blob. They solve different problems.