VOOZH about

URL: https://apify.com/web.harvester/html-to-markdown

โ‡ฑ HTML to Markdown Converter - GFM Tables & Code ยท Apify


Pricing

$3.00/month + usage

Go to Apify Store

Convert HTML to clean Markdown. Supports GFM tables, code blocks, and custom rules. Perfect for content migration and documentation.

Pricing

$3.00/month + usage

Rating

0.0

(0)

Developer

๐Ÿ‘ Web Harvester

Web Harvester

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

1

Monthly active users

4 months ago

Last modified

Share

๐Ÿ”„ Convert HTML to clean Markdown. Supports GFM tables, code blocks, and custom formatting. Perfect for content migration.

๐Ÿ‘ Apify Actor
๐Ÿ‘ License: MIT

๐ŸŽฏ What This Actor Does

Convert HTML to Markdown:

  • GFM Tables - HTML tables โ†’ Markdown tables
  • Code Blocks - Fenced or indented
  • Headings - ATX (#) or Setext (underlined)
  • Lists - Customizable bullet markers
  • Clean Output - Readable Markdown

๐Ÿš€ Use Cases

Use CaseDescription
Content MigrationMove HTML to Markdown-based CMS
DocumentationConvert HTML docs to MD
Web ScrapingExtract content as Markdown
Blog ImportImport HTML posts
ArchiveStore web content as MD
Git WikisConvert HTML wikis

๐Ÿ“ฅ Input Examples

Basic Conversion

{
"html":"<h1>Title</h1><p>Content</p>",
"headingStyle":"atx"
}

From URL

{
"htmlUrl":"https://example.com/page.html",
"gfmTables":true
}

Custom Formatting

{
"html":"<ul><li>Item</li></ul>",
"bulletListMarker":"*",
"codeBlockStyle":"fenced"
}

โš™๏ธ Configuration

ParameterTypeDefaultDescription
htmlstring-HTML content
htmlUrlstring-URL to HTML page
headingStylestringatxatx (#) or setext (underlined)
codeBlockStylestringfencedfenced (```) or indented
bulletListMarkerstring--, *, or +
gfmTablesbooleantrueConvert tables to GFM
keepImagesbooleantrueConvert img tags
keepLinksbooleantrueConvert a tags

๐Ÿ“ค Output

{
"inputLength":200,
"outputLength":150,
"headingStyle":"atx",
"markdown":"# Title\n\nContent here...",
"markdownUrl":"https://api.apify.com/v2/..."
}

๐Ÿ“ Conversion Examples

Headers

<h1>Title</h1> โ†’ # Title
<h2>Subtitle</h2> โ†’ ## Subtitle

Text Formatting

<strong>bold</strong> โ†’ **bold**
<em>italic</em> โ†’ *italic*
<code>code</code> โ†’ `code`

Lists

<ul><li>Item</li></ul> โ†’ - Item
<ol><li>First</li></ol> โ†’ 1. First

๐Ÿ’ฐ Cost Estimation

SizeApprox. TimeCompute Units
10 KB~1 second~0.001
100 KB~2 seconds~0.003

๐Ÿ”ง Technical Details

  • Language: TypeScript / Node.js 22
  • Library: Turndown 7.x
  • Memory: 128MB-256MB

๐Ÿ“„ License

MIT License - see LICENSE for details.


๐Ÿช Apify Store Listing


Keywords: html to markdown, html to md, turndown, html converter, markdown converter, content migration, gfm

You might also like

HTML to Markdown Converter - Bulk Web Content to MD

santamaria-automations/html-to-markdown

Extract main article content from any website and convert to clean Markdown including headings, links, images, tables, and code blocks. Perfect for LLM training, AI pipelines, and documentation. Export data, run via API, schedule and monitor runs, or integrate with other tools.

File to Markdown

shahidirfan/file-to-markdown

Transform files into clean, readable Markdown instantly. Convert PDFs, documents, images, and more to structured Markdown format. Perfect for automating documentation workflows, content migration, and building knowledge bases. Ideal for developers, writers, and content teams.

5

5.0

Html to Markdown Converter

antonio_espresso/html-to-markdown-converter

Crawl a target URL and convert its HTML content into clean, structured Markdown with optional heading-based chunking.

39

Website To Markdown

swarmgarden/website-to-markdown

Convert any webpage to clean, readable Markdown format. Perfect for content extraction and readability.

70

Html To Markdown Converter ๐Ÿ“„

powerful_bachelor/html-to-markdown-converter

๐Ÿ“„โœจ HTML to Markdown Converter transforms web pages into clean, portable Markdown. Simply input a URL to extract content while preserving structure, formatting, and media elements.๐Ÿ”„ Perfect for content repurposing, documentation, and creating readable, platform-independent text from any webpage! ๐Ÿš€

๐Ÿ‘ User avatar

Powerful Bachelor

36

MD2UI - Markdown to Images & Code & Emails

treplit/md2ui-mcp

Turn Markdown into shareable images and email-ready HTML โ€” directly from Claude. Render tables, code blocks, and Mermaid diagrams as PNG, or Gmail-compatible HTML. 9 themes included. No design tools needed.

Markdown Maker: HTML to Markdown ๐Ÿ“

shahidirfan/Markdown-Maker

Instantly convert complex HTML into clean, structured Markdown. This lightweight actor is optimized to render web content into a format that is easily readable for AI LLMs, reducing token usage and improving context. Perfect for RAG pipelines and preparing data for training.

Markdownify MCP Server

crawlerbros/markdownify-mcp-server

Convert any webpage to clean, formatted Markdown perfect for AI consumption. Ideal for building knowledge bases, documentation scrapers, and content migration tools.

18

5.0