Form to API Payload
Reverse-engineer your API requirements. Paste a form and get a perfect JSON body for your POST requests.
Frequently Asked Questions
What does this tool do?
It scans raw HTML for form fields (<input>, <textarea>, <select>) and extracts their 'name' attributes to simpler JSON object. It even attempts to guess default values based on the input type (e.g., passing '0' for numbers).
Does it support nested JSON keys?
Currently, it uses the exact 'name' attribute as the key. If your input is name='user[id]', the JSON key will be 'user[id]'. We plan to add deep object parsing in the future.
Why use this?
It's a huge time-saver when backend API documentation is missing. Just copy the frontend form code, and you immediately have a valid JSON structure to test in Postman or Insomnia.