Skip to content
ConvenTools

URL Encoder / Decoder

Runs in your browser — your files never leave your device

Percent-encode or decode URLs and query parameters right in your browser. Switch between encoding a single component or a whole URL, and copy the result — nothing is ever sent to a server.

Input
Output

How to use it

  1. 1
    Pick encode or decode

    Choose whether you’re encoding text into a URL-safe form or decoding it back.

  2. 2
    Choose the scope

    Select “Component” for a single value, or “Full URL” to preserve the overall URL structure.

  3. 3
    Paste your text

    Type or paste into the input; the result updates instantly.

  4. 4
    Copy the result

    Copy the encoded or decoded output with one click.

When to URL-encode

Special characters like spaces, &, ? and = have meaning in a URL. Before putting arbitrary text into a query string or path, you percent-encode it so it travels safely. Decoding reverses the process so you can read the original value.

Component vs full URL

Use “Component” (encodeURIComponent) for a single value such as a query parameter — it escapes & = ? / and more. Use “Full URL” (encodeURI) when you want to encode spaces and unsafe characters but keep the URL’s structure intact.

Frequently asked questions

Is my text sent to a server?

No. Encoding and decoding run entirely in your browser; nothing is uploaded.

What’s the difference between component and full-URL encoding?

Component encoding (encodeURIComponent) escapes characters like & = ? / for use inside a single value. Full-URL encoding (encodeURI) encodes spaces and unsafe characters but leaves the URL’s separators intact.

Why did decoding fail?

Decoding fails if the text contains a stray “%” that isn’t part of a valid escape sequence (like %20). Fix or remove it and try again.

Does it handle Unicode?

Yes — non-ASCII characters are percent-encoded as UTF-8 and decode back exactly.