Skip to content
APISeeker
Free API30 req/minJSON & Data

XML Formatter

Indent and normalize XML for readability. Rejects clearly malformed markup.

By RSM DevOps

Public endpoint

GETxmlfmt.apiseeker.com
/v1/format

Auth: X-SEEKER-Key

Endpoint

Pass XML in the xml query parameter.

Method

GET

Path

/v1/format

Full URL

https://xmlfmt.apiseeker.com/v1/format

Authentication

Send X-SEEKER-Key on every request. Free tools still require a valid APISeeker key — no auth bypass.

Parameters

  • xmlquerystringrequired

    XML document

Request example

cURL
curl -s "https://xmlfmt.apiseeker.com/v1/format?xml=%3Croot%3E%3Ca%3E1%3C%2Fa%3E%3C%2Froot%3E" \
  -H "X-SEEKER-Key: YOUR_API_KEY"

Response example

JSON
{
  "success": true,
  "data": {
    "formatted": "<root>\n  <a>1</a>\n</root>"
  },
  "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

XML Formatter

Login required

Sign in to send live requests. Docs and URL preview stay open. Log in

GETRequest URL
https://xmlfmt.apiseeker.com/v1/format?xml=%3Croot%3E%3Ca%3E1%3C%2Fa%3E%3C%2Froot%3E
Log in to test endpoint
Status: Latency:

Response

Response will appear here after you send a request.

Related tools

FAQ