Simple API
Convert HTML to Markdown with a single API call. Supports paste, file upload, and URL conversion.
Convert HTML content to clean CommonMark markdown with a simple API, CLI, or browser extension.
Get started with UnWeb in minutes:
# 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>"}'// 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 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'])# 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>"| Feature | Free | Starter | Pro | Scale |
|---|---|---|---|---|
| Monthly Credits | 500 | 2,000 | 15,000 | 60,000 |
| Price | $0 | $12/month | $39/month | $99/month |
| API Keys | ✅ | ✅ | ✅ | ✅ |
| Web Crawler | ❌ | ✅ | ✅ | ✅ |
| Overage Billing | ❌ | ✅ | ✅ | ✅ |
| Priority Support | ❌ | ❌ | ✅ | ✅ |