DevToolCase
Sign in Sign in

Encode a URL

Percent-encode a URL or a parameter, accents included, and read the parts and parameters of a URL; decode it in one click.

Share this result

Encrypted in your browser. The key stays in the link, after “#”: only the people you give it to can read it, not even DevToolCase.

The link works for

Sign in for longer links or links without expiry, and to find them in your account.

Runs entirely in your browser: nothing you type is sent or stored.

Why encode a URL?

A URL may only hold letters, digits and a few signs. Spaces, accents and the characters that have a role in a URL (?, &, =, #) are written as % followed by two hexadecimal digits: a space becomes %20, é becomes %C3%A9.

A value or a whole URL?

  • A whole URL that must stay usable, the default: “Whole URL” keeps : / ? # & = and encodes the rest (accents, spaces), as encodeURI does.
  • A value to put in a query string, such as a search or a redirect address: untick “Whole URL”, and everything is encoded, / and & included, as encodeURIComponent does.

A space: %20 or +?

In a path, a space is %20. HTML forms send it as + in the query string (application/x-www-form-urlencoded): tick “+ for spaces” to do the same.

To read an encoded URL, decode it.

Add this browser’s favorites to your account?

This browser has 0 favorites that your account does not have:

Either way, this browser keeps its favorites: you find them again after signing out.