Skip to main content

URL Encoder / Query String Parser

Encode/decode URLs, parse query strings to tables, and reverse them back.

About this tool

URL Encoder / Decoder and Query String Parser in your browser — nothing leaves your device.

Encode modes

  • encodeURIComponent escapes everything except A–Z a–z 0–9 - _ . ! ~ * ' ( ). Use for individual values.
  • encodeURI preserves URL structure (/ : ? # & =). Use for whole URLs.
  • decodeURIComponent reverses the encodeURIComponent step.

Query string parser

Paste any URL query string (?a=1&b=2) and the parser splits it into an editable table. Repeated keys (e.g. ?tag=a&tag=b) are marked as arrays. The stringifier reverses the process and produces a valid URL-safe query.

Common use cases

  • Debug API endpoints with messy query parameters.
  • Fix double-encoded URLs (%2520%20).
  • Build tracking links with UTM parameters.