This extension encodes parameters in JSON format instead of url format. Install <script src="https://unpkg.com/htmx-ext-json-enc@2.0.0/json-enc.js"></script> Usage <div hx-post='/test' hx-ext='json-enc'>click me</div>