แยกวิเคราะห์ URL query string เป็น JSON และสร้าง query string จาก JSON ในเบราว์เซอร์ของคุณ
วิธีใช้ Query String
เลือกทิศทาง: query เป็น JSON หรือ JSON เป็น query
วาง query string (มีหรือไม่มี ?) หรือ JSON object
คัดลอกผลลัพธ์ หรือ swap เพื่อแปลงกลับ
A query string converter that turns the parameters in a URL into a readable JSON object, and builds a query string back from JSON. It decodes values, and treats repeated keys as arrays in both directions.
It runs locally in your browser, so the URLs you inspect, which can contain tokens or personal data, never leave your device.
A query string is the part of a URL after the question mark, like ?q=shoes&page=2, a list of key-value pairs that pass data to a page or API. They drive search results, filters, pagination and tracking.
When a key appears more than once, such as tag=a&tag=b, it becomes an array in the JSON so no values are lost, and a JSON array expands back into repeated parameters when you build the string.
You can paste a whole URL when converting to JSON: anything before the question mark is ignored, so you do not have to trim it first. This makes it quick to inspect the parameters of a link from your address bar.
Percent-encoded values are decoded when parsing so you can read them, and encoded again when building a query string so the result is valid, which keeps spaces and special characters correct.
คำถามที่พบบ่อย
key ที่ปรากฏมากกว่าหนึ่งครั้ง เช่น tag=a&tag=b กลายเป็น array ใน JSON และ arrays ใน JSON ขยายกลับเป็น parameters ที่ซ้ำกัน
ใช่ เมื่อแปลงเป็น JSON ทุกอย่างก่อน ? จะถูกละเว้น ดังนั้นคุณสามารถวาง URL ทั้งหมด
ใช่ ค่าที่ encode แบบ percent ถูก decode เมื่อแยกวิเคราะห์และ encode ใหม่เมื่อสร้าง query string
ฝังเครื่องมือนี้
เพิ่มเครื่องมือนี้ลงในเว็บไซต์ของคุณเอง คัดลอกสคริปต์ด้านล่าง โดยจะอัปเดตให้เป็นปัจจุบันโดยอัตโนมัติ
<iframe src="https://monu.tools/embed/th/query-string-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>เครื่องมือที่เกี่ยวข้อง
สร้างและลงชื่อ HS256 JSON Web Tokens จาก payload และ secret ทั้งหมดในเบราว์เซอร์ของคุณ
ค้นหาและดูรหัสสถานะ HTTP และความหมาย จาก 1xx ถึง 5xx
แปลงไฟล์ .env เป็น JSON และ JSON กลับเป็น .env ในทั้งสองทิศทาง ทั้งหมดในเบราว์เซอร์ของคุณ
สร้าง HMAC สำหรับข้อความและคีย์ความลับโดยใช้ SHA-1, SHA-256, SHA-384 หรือ SHA-512 ในเบราว์เซอร์ของคุณ