Home › Developer Tools › URL Encode / Decode

URL Encode & Decode

Percent-encode text for URLs, decode encoded links, and inspect query parameters.

URL encoding (percent-encoding) replaces characters that aren't allowed in web addresses, such as spaces, &, ?, #, accented letters and emoji, with codes like %20. This tool encodes text so it can be placed safely in a URL or query string, and decodes encoded links back into readable text.

Paste a full URL to see it broken down into its protocol, host, path and each query parameter. That's handy for debugging tracking links, redirects and API calls.

How to use the URL Encode / Decode tool

  1. Paste the URL or text.
  2. Choose Component mode to encode a value for a query parameter, or Full URL mode to encode a whole address while keeping its structure.
  3. Click Encode or Decode.
  4. Check the parameter table and copy the result.

Features

  • Component (encodeURIComponent) and full URL (encodeURI) modes.
  • Decodes + as a space, as form encoding does.
  • Query parameter breakdown table.
  • UTF-8 aware, so non-English characters work.
  • Private, browser-only processing.

Tips for best results

Use Component mode when building a link by hand, for example putting a search term or a redirect URL inside another URL's parameter. Full URL mode is for addresses that already have their ? and & in place but contain spaces or special characters. A link encoded twice shows sequences like %2520, so decode it twice to get the original.

Compatibility and limits

The URL Encode / Decode tool is built for developers, testers, students and anyone who handles data. It runs in every modern browser, needs no installation or extension, and keeps working offline once the page has loaded. Because nothing is sent to a server, it's safe to use with production data, access tokens and internal configuration files.

Privacy: your files never leave your device

The data you enter is processed entirely in your browser with JavaScript. Nothing is sent to a server, which makes the tool safe for API responses, tokens, configuration files and other sensitive developer data.

Frequently asked questions

What is URL encoding?

It converts unsafe characters into a % followed by two hexadecimal digits, so URLs stay valid. For example, a space becomes %20.

What's the difference between the two modes?

Component mode also encodes / ? & = and #, which is right for parameter values. Full URL mode keeps those characters so the link still works.

Why do I see %2520 in a link?

The URL was encoded twice. Decode it twice to get the original.

Is my URL sent anywhere?

No. Everything happens in your browser.

Does it support Unicode?

Yes. Characters are encoded as UTF-8 bytes.