Skip to content
SolveKit

URL encode & decode.

Escape text for URLs, decode %20s back to readable text, and see every part of a URL, including its query parameters.

Updated · Free · Runs in your browser — nothing is uploaded

Direction

Encode as

Text

Escapes everything except letters, digits and - _ . ! ~ * ' ( ) — use for query values and path segments.

Encoded

URL parser

Protocolhttps
Hostexample.com
Path/search/café
Fragmentresults

Query parameters (4)

NameValue (decoded)
qhello world
langen
taga
tagb

At a glance

Last updated

  • The URL tool percent-encodes text as a component (encodeURIComponent) or a full URL (encodeURI), decodes it with optional + as space, and parses URLs into parts and query parameters.
  • It runs entirely in the browser; nothing you paste is sent to a server.

Encoding a value vs a whole URL

When putting text into a query parameter or path segment, encode it as a value: characters like &, =, / and ? are escaped so they can't break the URL. This matches JavaScript's encodeURIComponent.

When you have a complete URL that only needs spaces and special characters escaped, encode it as a whole URL: the structure (://, /, ?, &, =, #) is kept. This matches encodeURI.

Plus signs and spaces

HTML forms send spaces as +, while elsewhere in URLs a space is %20. Use the + options to match what your server expects.

Frequently asked questions

What does %20 mean?

It's a percent-encoded space: % followed by the character's byte value in hexadecimal (20 is a space).

Why do I get “malformed” when decoding?

Every % must be followed by two hex digits that form valid UTF-8. A stray % (like “100%”) can't be decoded.

Can I see the query parameters of a URL?

Yes. Paste the URL into the parser to see the host, path, fragment and every parameter, decoded.