Skip to tool
FreeToolsKit

URL Encoder / Decoder

Encode or decode URLs and URL components, in full-URL or component mode.

FreeNo uploadNo sign-up

Last updated:

Advertisement

Tool

Encode · Full URL

48 characters · 1 percent-encoded sequence

Encoded URL

https://example.com/search?q=hello%20world&lang=en

Full URL keeps : / ? & = and # readable; Component encodes them too, for values inside a query string.

Your files never leave your device - processing happens in your browser.

Related tools: Base64 Encoder / Decoder · JSON Formatter · Regex Tester

URL encoding (percent-encoding) is a way of representing special characters in a web address with a % sign followed by two hexadecimal digits, so the address stays valid. FreeToolsKit's URL Encoder / Decoder converts URLs and URL components both ways — encode a full address or just one query value, and decode percent-encoded text back to readable characters. Everything runs in your browser — pasted URLs are never uploaded.

How do you encode or decode a URL?

  1. Choose Encode or Decode, then Full URL or Component.
  2. Type or paste the URL or text into the box — a sample address is already filled in.
  3. Tick “Spaces as +” when encoding for a query string, or “Plus (+) means space” when decoding one.
  4. Read the converted result, which appears instantly.
  5. Press Copy to take the result, or Download .txt to save it; press Reset to return to the sample.

What is the URL Encoder / Decoder used for?

  • Encoding a search term with spaces and an & before putting it in a link's query string.
  • Encoding a redirect URL or callback address so it survives as a single query parameter.
  • Decoding a long, percent-encoded link from an email or analytics report to read where it points.
  • Checking what a %20 or %3F in a copied address actually stands for.
  • Preparing a filename with spaces or special characters for use in a URL.

Frequently asked questions

Is the URL encoder free?

Yes. The tool is completely free with no sign-up and no usage cap. Encode or decode as many URLs as you like, as often as you like.

Is my URL uploaded anywhere?

No. Encoding and decoding run entirely in your browser using JavaScript's built-in functions. Nothing you paste is sent to a server, stored or logged — closing the tab removes it completely.

What is the difference between Full URL and Component?

Full URL mode encodes only the characters that are never allowed in an address, so : / ? & = and # stay readable. Component mode encodes those too, which is what you need when a whole address or value sits inside a query parameter — otherwise its & or ? would break the outer URL.

Why does decoding fail on some URLs?

Decoding fails when a % is not followed by two hexadecimal digits, or when the encoded bytes are not valid UTF-8. The tool names the position of the first broken % sequence so you can fix it.

Should spaces be %20 or +?

In a URL path, spaces become %20. In a query string, both work: %20 is the standard percent-encoding, while + is the form used by HTML forms (application/x-www-form-urlencoded). Use the “Spaces as +” option when your server expects form-style encoding.

Advertisement

Related tools

Last updated:

  • Free forever
  • Files stay on your device
  • No sign-up