If this tool helped you, you can buy us a coffee ☕
JSON与GET参数互转工具,快捷转换URL查询字符串和JSON对象
Choose how arrays are serialized in GET parameters: brackets, indexed, or repeated keys
Apply percent-encoding to values for safe transmission of special characters
Adds '?' at the beginning of the result, ready to be appended to an API endpoint
Enter content on the left to see real-time conversion results here

JSON to YAML & YAML to JSON Converter
Bidirectionally convert between JSON and YAML structured data formats, with support for custom output styling.

JSON to Java POJO Generator
Automatically convert JSON strings into standard Java POJO class code for API integration, data modeling, and other development scenarios.

JSON to CSV & CSV to JSON Converter
Convert seamlessly between JSON arrays and CSV tabular data. Ideal for data analysis and software development.

JSON to XML & XML to JSON Converter
A two-way conversion tool for JSON and XML data structures, designed for development, testing, and data processing.

JSON to YAML & YAML to JSON Converter
Bidirectionally convert between JSON and YAML structured data formats, with support for custom output styling.

JSON to Java POJO Generator
Automatically convert JSON strings into standard Java POJO class code for API integration, data modeling, and other development scenarios.

JSON to CSV & CSV to JSON Converter
Convert seamlessly between JSON arrays and CSV tabular data. Ideal for data analysis and software development.

JSON to XML & XML to JSON Converter
A two-way conversion tool for JSON and XML data structures, designed for development, testing, and data processing.

JSON to C# Class Converter
Automatically convert JSON data into C# class definitions, ideal for .NET developers building data models.
在前后端开发或API调试中,常常需要在JSON对象和URL查询字符串(GET参数)之间进行转换。本工具可快速将JSON对象转换为标准的GET参数字符串,也能将GET参数字符串解析为格式化的JSON对象,解决手工拼接或解析易出错的痛点,提升接口对接效率。
key1=value1&key2=value2 的字符串;GET转JSON时输出格式化的JSON对象。示例:输入JSON {"name":"张三","age":25} 转换为GET参数 name=%E5%BC%A0%E4%B8%89&age=25;反向输入 name=%E5%BC%A0%E4%B8%89&age=25 得到JSON。
请确保输入的JSON格式合法,否则会提示错误。GET参数转换时,键值对以“&”分隔,键值用“=”连接。本工具仅处理字符串转换,不涉及网络请求,所有数据仅在浏览器本地处理,不会上传服务器,保障隐私安全。对于大量数据或批量转换,建议分批次处理以免页面卡顿。
在RESTful API设计中,查询参数经常需要结构化传递。使用本工具可快速验证GET参数结构。例如,传递筛选条件 filter[status]=active&filter[age][gte]=18 可被转换为嵌套JSON {"filter":{"status":"active","age":{"gte":"18"}}}。请留意不同后端框架对参数解析的差异,本工具采用通用的URLSearchParams解析规则。