devpocket.dev

URL Encoder & Parser

Encode or decode URL text, inspect URL parts, and edit query parameters.

Runs locally
Loading tool…

How to use

For text conversion, choose Encode or Decode and select Component, Full URI, or Form. Component mode escapes reserved URL syntax; Full URI preserves it; Form mode represents spaces with . The parser accepts an absolute URL, breaks out its components, and lets you add, remove, or edit query rows while producing a rebuilt URL.

FAQ

When should I use encodeURIComponent?

Use component mode for a single query value, path segment, or fragment value. Use full URI mode only when the input is already a complete URL.

Why does form encoding use plus signs?

application/x-www-form-urlencoded traditionally represents spaces as + while a literal plus is encoded as %2B.

Related tools