URL Encoder & Decoder

When a link contains spaces, accented characters or a character like &, the URL needs a safe encoded form. Paste text or part of a URL and instantly get the encoded or readable version. Everything runs directly in your browser.

How the URL Encoder Works

A URL is not just a normal sentence. Some characters have a special meaning: a question mark starts the parameters, & separates them, and spaces should not be written directly into a URL. URL encoding, also called percent-encoding, rewrites those characters into a safe form. A space becomes %20, & becomes %26, and accented or non-ASCII characters get their encoded form. The reverse process is URL decoding. This tool is especially useful for parameter values, search queries and individual parts of a URL.

Examples

Common text values look like this before and after encoding:

Search query
Input
coffee & tea
Output
coffee%20%26%20tea
Text with a space
Input
summer dress
Output
summer%20dress
Link part
Input
price list
Output
price%20list

Where It Helps

  • when you build a link with a search query or filter
  • when a parameter contains a space, accented character, & or ?
  • when you need to decode a URL and quickly see what it contains
  • when preparing values for an API, form or query string
  • when checking why a pasted link stopped working

FAQ

What is URL encoding?

URL encoding is a way to write characters so they are safe inside a URL. For example, a space becomes %20, & becomes %26, and accented or non-ASCII characters are converted to an encoded form.

Why does a space in a URL become %20?

A space is not a safe character inside a URL, so URL encoding replaces it with %20. This helps browsers and servers understand that the space belongs to the parameter value or link text. If you need to encode a URL or decode a URL, this online tool shows the result immediately.

Is the URL encoder safe to use?

Yes. This free online URL encoder runs directly in your browser. No data is sent to a server, so your content remains private.

Why is URL encoding important?

The browser and server need to know exactly what is part of the URL structure and what is a parameter value. For example, if a search query contains coffee & tea, the & could be treated as a separator unless it is encoded.