Enter a URL above to see its parameters here.

URL Beautifier

This URL beautifier online highlights URL keys, lists every parameter as an editable key-value pair, and syncs each change back to the URL live. Switch to JSON to edit the same parameters, and encode, decode or convert a query string in one click.

All tools on this site run entirely in your browser locally. No data is uploaded to any server.

Features:

  • Key Highlighting: Parameter names are highlighted in the URL input; duplicate keys turn red
  • Key-Value List: Every parameter is listed with an editable key and value
  • Live Sync: Editing a key, value, the JSON view or the URL itself updates the others instantly
  • Key-Value / JSON: Convert URL parameters to JSON and edit them there
  • Copy Key-Value: Copy the parameters as key: value lines
  • Copy JSON: Copy the JSON view in one click
  • Minify JSON: One click to minify valid JSON in JSON view
  • Download JSON: Save the JSON view as a .json file
  • Decode URL: Decode a percent-encoded URL with one click
  • Encode URL: encodeURI, keeping URL syntax intact
  • Encode URL (Special): encodeURIComponent, encoding URL syntax too
  • + to Space: Turn + into spaces (available when the URL contains +)
  • Add or Remove: Click + on a row to insert a parameter right below it; the + above the list adds one at the top; click × on a row to remove it
  • Drag to Reorder: Drag the handle at the right end of a row to change the parameter order; the URL is rebuilt when you release
  • Sample: Load an example URL with one click; click again to clear

FAQ:

  • Q: What happens to the URL when I edit a key or value?
    A: The URL is rebuilt from the list the moment you type. The domain, the ? and any #fragment are kept as they were, and values are inserted exactly as written — nothing is percent-encoded at this step. Use Encode URL if you need a link that is safe to share.
  • Q: I clicked + but the URL did not change. Why?
    A: The new row is a draft until it has a key, so an empty one never leaves a stray ? or & in the URL. Type the key and the parameter is written at once, in the slot you asked for — a row's + inserts below that row, the + above the list inserts at the very top — carrying over any value you filled in first. Click × on the row to discard it.
  • Q: Does dragging a row change the URL?
    A: Yes. Releasing the handle rebuilds the URL in the new order, which is the order the request actually sends. Draft rows can be dragged too: that only moves where they will be inserted, and an empty draft still never reaches the URL.
  • Q: What about a key that appears twice?
    A: The key-value list keeps every occurrence, in order, and marks the repeated keys in red in both the URL and the list. JSON objects cannot repeat a key, so in JSON view only the last value of a repeated key survives: a=1&a=2 becomes {"a": 2}. Switch back to key-value view before editing if every value matters.
  • Q: Why can't I split parameters after clicking Encode URL (Special)?
    A: Encode URL (Special) uses encodeURIComponent and escapes ?, &, = and / as well, so there is no query string left to split — the whole encoded string appears as a single key with an empty value. Click Decode URL to restore the original and the parameters come back. Encode URL uses encodeURI and keeps those characters, so the parameters stay editable.
  • Q: I decoded once but part of a value is still encoded. Why?
    A: One click runs a single decodeURIComponent. A value encoded twice, such as a%2520b, turns into a%20b on the first click and a b on the second. Click Decode URL again while it keeps changing.
  • Q: Can I paste only the query string, without a domain?
    A: Yes. a=1&b=2 works the same way as a full URL: the two parameters are listed and rebuilt as a=1&b=2, with no domain added.
  • Q: Do numbers and booleans keep their type in JSON view?
    A: Values that look like numbers, true, false, null or nested JSON are shown as real JSON types, so page=2&active=true becomes {"page": 2, "active": true}. Long numbers and values with leading zeros stay strings — a 20-digit ID and 007 are kept as written. When you edit in JSON view and switch back, values become text in the URL again.
  • Q: What does the JSON view show when the URL is empty?
    A: Nothing. The editor stays blank instead of showing {}.
  • Q: The JSON is incomplete while I type. Does the URL still update?
    A: No. While the JSON is invalid the URL stays at its last valid value, so a half-typed edit cannot break the link above. As soon as the JSON is valid again the URL updates and the key highlighting returns.

Common uses:

  • Read and edit the parameters of a long URL
  • Convert a URL query string to JSON for development
  • Check which keys a URL carries without decoding it first
  • Encode or decode a URL, or turn + into spaces in a query value
  • Add or remove a parameter and rebuild the URL