URL Encode and Decode Online

Percent-encode text for URLs and query strings, or decode %20-style strings back to readable text. Runs in your browser.

About URL Encode and Decode Online

Percent-encode text so it is safe inside a URL, such as spaces, accents, ampersands and slashes in a query value, or decode an encoded string back into readable text. Use it when building links with parameters, debugging API calls, or reading a long encoded URL.

Encoding uses the browser's encodeURIComponent rules, so every reserved character in a single value is escaped. Paste a full URL and encode it as a whole only if you want the separators escaped too.

How to use it

  1. Choose Encode or Decode.
  2. Paste your text or URL into the box.
  3. Copy the result from the output panel.

Questions

Is my text uploaded?

No. Everything runs in your browser; nothing you type or generate is sent to a server.

Why does my encoded text use %20 for spaces?

%20 is the standard percent-encoding for a space in a URL. Some forms use + for spaces in query strings; decode accepts %20 either way.

Why do I get an error when decoding?

Decoding fails on a stray % that is not followed by two hex digits. Check for a partial or double-encoded string.

More Data & Converters tools

Home · All Tools · Blog