URL Encoder Live

Encode and decode URL components.

Developer Tools Free forever No sign up
Mode
Encodes &, ?, / and = too — best for query values.
Text or URL
Result
About this tool

How the URL Encoder works

Encode and decode URL components or complete URLs, and inspect the parsed protocol, host, path and query parameters.

  1. 01

    Choose a mode

    Encode or decode, and pick Component or Full URL.

  2. 02

    Paste the value

    The result updates instantly as you type.

  3. 03

    Inspect the URL

    Valid URLs show their parts and every query parameter.

Why use it

Two scopes

Component encoding for values; full URL encoding that preserves structure.

URL parser

See protocol, host, path, hash and query parameters.

Live

Encoding and decoding update as you type.

Local

Nothing is sent to a server.

Frequently asked questions

Component or full URL?

Use Component for a single query value. Use Full URL when encoding a complete address and you want to keep ://, /, ? and & intact.

Why does a space become %20?

Percent-encoding represents characters that are not allowed in URLs.

Can I decode a malformed URL?

Malformed percent sequences show an error instead of producing broken output.

Does it validate URLs?

The parser shows parts when the input is a valid absolute URL; encoding still works for arbitrary text.