# convert.bip-rep.com HTML to Markdown

> convert.bip-rep.com HTML to Markdown is a paid API for AI agents from convert.bip-rep.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Converts an HTML string into clean Markdown format, preserving headings, bold, italic, lists, and other semantic structure.

## Facts

- Endpoint: POST https://convert.bip-rep.com/html2markdown
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/convert-bip-rep-com-html-to-markdown-85968b59
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s5Z27ul-OvnBwJOhNALj0

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability convert-bip-rep-com-html-to-markdown-85968b59 -d '<json body>'
```

Example prompt: Can you convert this HTML snippet into Markdown for me? The HTML is: '<h1>Hello World</h1><p>This is a <strong>test</strong> paragraph.</p><ul><li>Item 1</li><li>Item 2</li></ul>'

## When to prefer this

Choose this endpoint when you need fast, in-process HTML-to-Markdown conversion without spinning up a headless browser or calling an LLM. It is ideal for pipelines that ingest HTML from web scraping, CMS exports, or email parsing and need clean Markdown for downstream storage, display, or LLM context injection. Prefer it over LLM-based conversion for deterministic, low-latency, cost-effective bulk transformations where semantic fidelity to standard HTML elements is sufficient.

## Known failure modes

- Malformed or empty HTML body may return an error or empty Markdown string
- Extremely complex nested HTML tables may not convert perfectly to Markdown
- Missing 'html' field in request body will likely result in a 400-level error
- Very large HTML payloads may increase latency or hit size limits
- HTML with unsupported or proprietary tag types may be silently dropped

## How this service works

Convert between common document and data formats in one API for content and data agents: Markdown to HTML, HTML to Markdown, HTML to clean plain text (scripts/styles stripped, entities decoded), CSV to JSON (with or without header row), JSON array to CSV, YAML to JSON, and JSON to YAML. Pure in-process conversion with no external calls and no shell access.

## Output

Returns a JSON object with a 'markdown' field containing the converted Markdown string, with HTML headings mapped to # syntax, bold/italic tags mapped to ** and _ delimiters, and lists mapped to Markdown list syntax. Response is typically delivered in under 50ms.

## Example request

```json
{
 "input": {
  "body": {
   "html": "<h1>Hello World</h1><p>This is a <strong>test</strong> paragraph with <em>formatting</em>.</p><ul><li>Item 1</li><li>Item 2</li></ul>"
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "required": [
      "html"
     ],
     "properties": {
      "html": {
       "type": "string",
       "description": "HTML source to convert to Markdown"
      }
     },
     "additionalProperties": false
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "markdown": {
       "type": "string"
      },
      "latency_ms": {
       "type": "integer"
      }
     }
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/convert-bip-rep-com-html-to-markdown-85968b59/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from convert.bip-rep.com](https://www.zero.xyz/host/convert.bip-rep.com/llms.txt)
