HTML to Markdownfor AI
Convert HTML files to clean GitHub-Flavored Markdown optimized for AI and LLM workflows β entirely in your browser.
Initializing conversion engineβ¦
Popular Use Cases
View all βHow to download HTML pages and create a ZIP package
How to download HTML pages and create a ZIP package
Have a documentation site you want to feed to an LLM? Mirror it withwget, zip the result, and convert the whole set in one pass.
1. Mirror the pages with wget
Downloads a documentation section recursively, staying inside the starting path and rewriting links so the copies work offline.
wget -r -np -k -E \
--reject-regex '\.(png|jpe?g|gif|svg|webp|woff2?|ttf|css|js|zip|pdf)$' \
-w 0.5 --random-wait \
https://community.denodo.com/docs/html/browse/latest/en/vdp/developer/indexwget writes into a folder named after the host, e.g. community.denodo.com/. On macOS install it first with brew install wget.
2. Pack the HTML files into a ZIP
Bundle only the .html files. Nested folders are fine β the converter reads them at any depth and mirrors the paths in the output.
cd community.denodo.com
# every .html file, directory structure preserved
find . -name '*.html' -print | zip ../docs-html.zip -@Prefer everything as-is? zip -r ../docs-html.zip . works too; non-HTML entries are ignored on upload.
3. Drop the ZIP above
Upload docs-html.zip into the converter. Each page becomes a .md file with the same name and path, ready to download as a single archive.
# check the archive stays inside the limits first
unzip -l docs-html.zip | grep -c '\.html$' # β€ 200 files
du -h docs-html.zip # β€ 100 MBWhat the wget flags do
- -r
- Follow links recursively
- -np
- Never ascend above the starting path
- -k
- Rewrite links to point at the local copies
- -E
- Append .html so every page is detected
- -p
- Optional: also grab CSS and images β not needed for Markdown
- -l 2
- Limit crawl depth β useful for large sites
- -w 0.5 --random-wait
- Throttle requests to stay polite
On Windows
Install wget with winget install JernejSimoncic.wget, then zip with PowerShell instead of the zip command.
Compress-Archive -Path .\community.denodo.com\* -DestinationPath docs-html.zipOnly crawl sites whose terms permit it, and keep the request rate low. Large manuals may exceed the 200-file limit per archive β narrow the starting URL or lower-l and convert in batches.
Read the full guide ββ covers curl, browser saving, Puppeteer, HTTrack, and more