A mini Postman-like API client that runs entirely in your browser.
API Playground is a lightweight, single-file HTTP client for testing REST APIs. Enter a URL, choose a method, add headers and a body, and send the request — all from your browser. Save frequently used requests as collections in localStorage for quick access.
Built with zero external dependencies — just vanilla HTML, CSS, and JavaScript.
| Feature | Description |
|---|---|
| All HTTP Methods | GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS |
| Custom Headers | Add, edit, and remove request headers dynamically |
| Request Body | Full text body support for POST/PUT/PATCH |
| Response Viewer | Status code with color coding, response headers, formatted body |
| JSON Pretty-Print | Auto-formats JSON responses for readability |
| Collections | Save named requests to localStorage, load with one click |
| Keyboard Shortcut | Ctrl+Enter to send request |
| Dark Theme | Easy on the eyes with orange accents |
- Open
index.htmlin any modern browser - Enter an API URL (e.g.,
https://jsonplaceholder.typicode.com/posts/1) - Choose a method and click Send
- Save frequent requests using the Save Current button
No build step, no server, no dependencies.
api-playground/
└── index.html # The entire application
MIT — see LICENSE