Skip to content
Encoding & Security Runs in your browser — nothing uploadedFree · No signup

URL Parser, Encoder & Decoder

Paste a URL to see every part broken down — including decoded query parameters — and edit parameters to rebuild the URL. Also encode or decode strings with encodeURIComponent.

URL

Components

Protocol
https:
Host
www.musmandev.com
Port
(default)
Origin
https://www.musmandev.com
Path
/tools/json-to-dart
Query
?utm_source=twitter&utm_medium=social&q=flutter%20models
Fragment
#faq

Query parameters (3)

UTM campaign parameters detected (highlighted).

Encode / decode a component

name%3DMuhammad%20Usman%26role%3DFlutter%20%26%20AI

How to use the URL Parser

  1. Paste a URL.
  2. Edit query parameters in the table if needed.
  3. Copy the rebuilt URL or the encoded string.

Features

  • Protocol, host, port, path, query and fragment breakdown
  • Decoded query parameters table with editing
  • encodeURIComponent / decodeURIComponent
  • Detects UTM campaign parameters

Frequently asked questions

What's the difference between encodeURI and encodeURIComponent?

encodeURI keeps characters that are meaningful in a full URL (like / ? & =), while encodeURIComponent encodes them — use it for individual query parameter values.