Parse URL query parameters and display them as an HTML table
URL Params to Table is an online tool designed to parse URL query parameters and display them as a clean HTML table. In web development, API debugging, and data analysis, URLs often carry numerous parameters that are tedious and error-prone to extract manually. This tool automatically identifies the query string from a URL, extracts each parameter name and value, and presents them in a well-structured Bootstrap-style HTML table, significantly improving the efficiency of viewing and analyzing URL parameters.
The tool supports full URL parsing (including protocol, domain, and path) as well as direct query string input. It also handles multiple parameters with the same name (e.g., ?tag=a&tag=b) by merging their values, accommodating various complex parsing needs.
The tool is built on PHP's built-in URL parsing mechanisms through a three-step processing pipeline:
parse_url() function to intelligently extract the query string portion from the input. This function complies with RFC 3986 and correctly handles full URLs with protocols (http/https), domains, ports, and paths, automatically isolating the query segment after ?.parse_str() to parse the query string into an associative array. This function automatically decodes URL-encoded characters (e.g., %20 → space, %E5%BC%A0 → Chinese characters) and supports PHP-style array parameters (e.g., name[]=a&name[]=b).htmlspecialchars() XSS protection to both keys and values, then generates structured Bootstrap-styled HTML with two columns (parameter name and value), striped rows, and hover effects for readability.https://example.com/page?name=John&age=18) and plain query strings (e.g., name=John&age=18). It automatically detects and extracts the query parameters from either format.%E5%BC%A0%E4%B8%89 → 张三), spaces (%20 → space), and other encoded symbols are all restored to their original form.?tag=a&tag=b displays as parameter name tag with value a, b, ensuring no data is lost.Input:
https://www.example.com/search?keyword=JavaScript+Programming&page=1&sort=date&category=tech&language=en
Output Table:
| Parameter | Value |
|---|---|
keyword | JavaScript Programming |
page | 1 |
sort | date |
category | tech |
language | en |
Click send after pasting the URL, and the tool will automatically parse all 5 parameters and display them in a clean Bootstrap table for easy viewing.
URL Params to Table belongs to the URL processing tool chain alongside URL Decode and URL Encode. In API debugging workflows, you can first use URL Decode to view original parameter values, then use this tool to organize them into a table. Additionally, JSON Formatter can beautify API response data — combining it with this tool enables efficient analysis of both API requests and responses.