Html to Markdown Converter
by antonio_espresso
Crawl a target URL and convert its HTML content into clean, structured Markdown with optional heading-based chunking.
Opens on Apify.com
About Html to Markdown Converter
Crawl a target URL and convert its HTML content into clean, structured Markdown with optional heading-based chunking.
What does this actor do?
Html to Markdown Converter is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
Html to Markdown Converter Convert HTML pages to clean, structured Markdown with optional heading-level chunking. This Apify actor crawls one or more URLs, extracts HTML content and converts it into readable Markdown. It supports both full-document conversion and heading-based section chunking (h1โh6). --- ## ๐ Features - ๐ท๏ธ Crawl any public website - ๐ช Convert HTML to GitHub-style Markdown - ๐งฉ Automatically chunk content by heading - ๐งผ Cleans up temporary crawl artifacts - ๐ Logs crawl/parsing issues to Apify logs --- ## ๐ฅ Input Example json { "urls": ["https://apify.com"], "output_format": "json", "debug": false } ```` | Field | Type | Description | | --------------- | ------- | ----------------------------------- | | `urls` | array | List of URLs to crawl | | `output_format` | string | `"json"` or `"df"` (DataFrame-like) | | `debug` | boolean | Enables verbose logging | --- ## ๐ค Output Example Each record includes: * `url` โ Source URL * `markdown` โ Full converted content * `chunks` โ Markdown split into sections by headingjson { "url": "https://apify.com", "markdown": "# Welcome to Apify\n...", "chunks": [ "# Welcome to Apify", "## What is Apify?", "## Get Started" ] } --- ## โถ๏ธ Usage You can run this actor: ### ๐ฃ Apify CLIbash apify call antonio_espresso/html-to-markdown-converter --input '{ "urls": ["https://apify.com"] }' ### ๐ Pythonpython import requests ACTOR_ID = "antonio_espresso/html-to-markdown-converter" TOKEN = "APIFY_API_TOKEN" # Replace with your token response = requests.post( f"https://api.apify.com/v2/actor-tasks/{ACTOR_ID}/runs", headers={"Authorization": f"Bearer {TOKEN}"}, json={"urls": ["https://apify.com"], "output_format": "json"} ) print(response.json()) --- ## ๐จโ๐ป Author Made with โค๏ธ by [SEO Antonio Blago](https://antonioblago.de) ### ๐ My Other Apify Actors: * ๐ [Competitor-Based Keyword Recommendations](https://apify.com/antonio_espresso/keyword-competitor-recommendation) * ๐ง [LLMs.txt Generator](https://apify.com/antonio_espresso/llms-txt-generator) * ๐ก [AI Prompt Keyword Matcher](https://apify.com/antonio_espresso/ai-prompt-keyword-matcher) * ๐ฐ [Markdown to Social Media Post](https://apify.com/antonio_espresso/markdowntosocialmediapost) * ๐ [HTTP Status Codes and URL Checker](https://apify.com/antonio_espresso/website-status-code-crawler) --- ## โ๏ธ Tech Stack * Python 3.10+ * Apify SDK for Python * Advertools for Markdown generation --- ## ๐งช Local Devbash pip install -r requirements.txt python src/markdown_convert.py Push to Apify:bash apify push ``` --- ## ๐งผ License MIT
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try Html to Markdown Converter now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- antonio_espresso
- Pricing
- Paid
- Total Runs
- 192
- Active Users
- 27
Related Actors
Tecdoc Car Parts
by making-data-meaningful
OpenRouter - Unified LLM Interface for ChatGPT, Claude, Gemini
by xyzzy
Google Sheets Import & Export
by lukaskrivka
Send Email
by apify
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support