
Learn and experiment with HTMX code in an interactive browser-based playground.
Runs right here. No download.
Write HTMX code directly in the browser-based playground and see results immediately.
Define server endpoints in JavaScript using server.js to create backend-like functionality.
A mock server intercepts HTMX requests without requiring external server infrastructure.
Copy your playground as JSON and share it via a URL using Gist.
Write your backend logic and endpoints in the server.js file.
Build your HTML templates and define HTMX interactions in the editor.
See your HTMX code execute immediately in the browser with the mock server handling requests.
Checked by Vibed
Share your experience with HTMX Playground
Sign in to leave a reviewNo, HTMX Playground runs entirely in the browser with a built-in mock server and requires no external setup.
Yes, press 'Copy as JSON' to export your code, upload it as a Gist, and share the raw URL to load it back.
HTMX Playground uses Nunjucks as its templating engine, which should be familiar to Django users.