Free API30 req/minWeb & API
HTML Formatter
Indent HTML tags for readability in debugging and content workflows.
By RSM DevOps
Public endpoint
GET
htmlfmt.apiseeker.com/v1/formatAuth: X-SEEKER-Key
Endpoint
Best-effort indentation; not a full HTML5 parser.
Method
GET
Path
/v1/format
Full URL
https://htmlfmt.apiseeker.com/v1/formatAuthentication
Send X-SEEKER-Key on every request. Free tools still require a valid APISeeker key — no auth bypass.
Parameters
htmlquerystringrequiredHTML fragment or document
Request example
cURL
curl -s "https://htmlfmt.apiseeker.com/v1/format?html=%3Cdiv%3E%3Cp%3EHi%3C%2Fp%3E%3C%2Fdiv%3E" \
-H "X-SEEKER-Key: YOUR_API_KEY"Response example
JSON
{
"success": true,
"data": {
"formatted": "<div>\n <p>Hi</p>\n</div>"
},
"request_id": "req_example"
}Errors & limits
- 400Invalid or missing parameters
- 401Missing or invalid API key
- 429Rate limit exceeded
Rate limit: 30 req/min
Playground
Live playground
HTML Formatter
Sign in to send live requests. Docs and URL preview stay open. Log in
GETRequest URL
https://htmlfmt.apiseeker.com/v1/format?html=%3Cdiv%3E%3Cp%3EHi%3C%2Fp%3E%3C%2Fdiv%3EStatus: —Latency: —
Response
Response will appear here after you send a request.
