ToolAssay

Convert an HTML fragment or document you already have into clean markdown

Convert an HTML fragment or document you already have into clean markdown. hiddenContent reports text a reader cannot see (HTML comments, display:none or hidden elements, white-on-white or off-screen text, zero-width characters) and quotes any of it that reads as an instruction to an AI; send hidden: "drop" to leave it out of the markdown. (To fetch + convert a live URL, use /api/extract.)

Not tested: has real-world effectsour last check, 2026-11-26
0 of 0checks answered this week
n/amedian answer time
$0.001listed price per call
n/aprice it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://agent402.tools/api/html-to-markdown

CategorySearch and research
Provider hostagent402.tools
Networksalgorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k, eip155:10, eip155:1329, eip155:137, eip155:143, eip155:42161, eip155:42220, eip155:43114, eip155:4663, eip155:5042, eip155:57073, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp, stellar:pubnet
Payment schemesexact, upto
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

We never call tools that send, buy, move money or file anything, not even without paying.

Example input (from the provider)

{
  "body": {
    "html": "<h1>Hi</h1><p><b>bold</b></p>"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "hidden": {
              "enum": [
                "keep",
                "drop"
              ],
              "type": "string"
            },
            "html": {
              "type": "string"
            }
          },
          "required": [
            "html"
          ]
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "hiddenContent": {
              "properties": {
                "found": {
                  "properties": {
                    "attributes": {
                      "type": "number"
                    },
                    "comments": {
                      "type": "number"
                    },
                    "cssHidden": {
                      "type": "number"
                    },
                    "hiddenAttr": {
                      "type": "number"
                    },
                    "invisibleChars": {
                      "type": "number"
                    },
                    "offscreen": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "instructionLike": {
                  "type": "array"
                },
                "mode": {
                  "type": "string"
                },
                "total": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "markdown": {
              "type": "string"
            }
          },
          "required": [
            "markdown",
            "hiddenContent"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON