URL Encode / Decode

Percent-encode or decode text for use in URLs, split a URL into its parts and edit its query parameters to build a new URL.

Runs locally in your browser

About this tool

URLs may only contain certain characters. Spaces, accented letters or characters like &, ? and # either have a special meaning or are not allowed at all. URL encoding (percent-encoding) replaces them with % followed by the hex value of their UTF-8 bytes – a space becomes %20, “é” becomes %C3%A9.

This tool encodes and decodes text for URLs. If you paste a full address, it also splits it into protocol, host, path, query parameters and fragment – handy for understanding long tracking or API links. You can edit, remove or add query parameters directly, and the tool builds the new URL from them.

How it works

  1. Choose “Encode” or “Decode”.
  2. When encoding, choose “Component” (for single parameter values) or “Full URL” (keeps : / ? & = intact).
  3. Paste your text or link – the result appears instantly.
  4. For a full URL you also see every part. Change, remove or add query parameters – the new URL appears below, ready to copy.

Frequently asked questions

When should I use “Component” and when “Full URL”?

For a single value placed into a URL (e.g. a search term in q=), use “Component” – & and = are encoded too. “Full URL” is for making a complete address with spaces or accents valid without breaking its structure.

Why does a space sometimes become %20 and sometimes +?

HTML forms (application/x-www-form-urlencoded) traditionally encode a space as +, URL paths use %20. The “Space as +” option lets you choose.

What does “Malformed percent-encoding” mean?

The text contains a % without valid hex digits after it, or a byte sequence that is not valid UTF-8. A common cause is text that was encoded twice or only partially.

How do I remove tracking parameters from a link?

Paste the link and delete entries such as utm_source, utm_medium, fbclid or gclid from the list of query parameters. The cleaned address is shown under “New URL”. Values are encoded the way browsers do it for forms (space as +).

Is URL encoding the same as Base64?

No. URL encoding only replaces problematic characters and keeps the rest readable. Base64 converts all data into a different alphabet. For Base64, use the Base64 Encode / Decode converter.