Skip to content

UnWebHTML to Markdown Converter

Convert HTML content to clean CommonMark markdown with a simple API, CLI, or browser extension.

UnWeb Logo

Quick Start

Get started with UnWeb in minutes:

bash
# Convert HTML to Markdown
curl -X POST https://api.unweb.info/api/convert/paste \
  -H "X-API-Key: unweb_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{"html": "<h1>Hello World</h1>"}'
javascript
// Node.js example
const response = await fetch('https://api.unweb.info/api/convert/paste', {
  method: 'POST',
  headers: {
    'X-API-Key': 'unweb_your_api_key_here',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({ html: '<h1>Hello World</h1>' })
});

const data = await response.json();
console.log(data.markdown);
python
# Python example
import requests

response = requests.post(
    'https://api.unweb.info/api/convert/paste',
    headers={'X-API-Key': 'unweb_your_api_key_here'},
    json={'html': '<h1>Hello World</h1>'}
)

print(response.json()['markdown'])
bash
# Initialize with your API key
unweb-cli init --api-key unweb_your_api_key_here

# Convert HTML
unweb-cli convert paste "<h1>Hello World</h1>"

Why UnWeb?

  • Smart Content Extraction - Automatically extracts main content from full webpages
  • CommonMark Standard - Produces clean, standards-compliant markdown
  • Usage-Based Pricing - Pay only for what you use with generous free tier
  • Multiple Access Methods - API, CLI, or browser extensions
  • Developer-Friendly - Comprehensive documentation and code examples
  • Production-Ready - Built with enterprise-grade architecture and security

Pricing Tiers

FeatureFreeStarterProScale
Monthly Credits5002,00015,00060,000
Price$0$12/month$39/month$99/month
API Keys
Web Crawler
Overage Billing
Priority Support

View detailed pricing →

What's Next?