Introduction
Query strings like ?utm_source=google&utm_medium=cpc are hard to read. Converting them to JSON makes them easier to work with.
This tool parses any query string into clean JSON.
Input: Full URL or query string · Output: Formatted JSON
How to Use
- Paste URL or query string
Works with or without?. - JSON is generated automatically
Arrays for repeated params. - Copy the JSON
Use in your code.
Handles arrays: ?tags=js&tags=web becomes {"tags": ["js", "web"]}.
About This Tool
Uses URLSearchParams for reliable parsing. Handles URL-encoded values, nested params, and array values.
Privacy
Everything happens locally.