Web & Code
HTML & Markdown to PDF
A free HTML to PDF converter for pages you saved and HTML you wrote, and a Markdown to PDF converter for READMEs, notes and answers copied from ChatGPT, Claude or Gemini — with real selectable text, working links and highlighted code blocks. Nothing is uploaded.
Tools last updated
3 ready now
Web & Code tools
Web pages, HTML and Markdown to PDF and back. Every one runs on your own device.
- HTML to PDF A saved web page or HTML file as a clean, paginated PDF.
- Markdown to PDF Markdown with headings, tables and highlighted code, typeset as a PDF.
- PDF to Markdown Headings, lists, tables and links as clean .md — ready for an AI chat.
- PDF to HTML Soon A PDF as a web page — text you can select, style and publish.
Web & Code guides
- How to save a ChatGPT, Claude or Gemini chat as a PDF Three ways to save an AI chat as a clean PDF: copy the reply and typeset it from Markdown, print the chat page, or export your whole history. What each one keeps, what it loses, and when to use it.
- How to convert a Markdown table to a clean PDF Turn Markdown tables into a clean PDF with borders, aligned columns and header rows that repeat on every page. Wide tables, long tables and tables from ChatGPT or GitHub, converted in your browser with no login.
- How to convert code to a PDF with syntax highlighting Turn code snippets, scripts and config files into a formatted PDF with syntax highlighting, line wrapping and selectable text, without installing an editor plugin. 36 languages, in your browser, nothing uploaded.
- How to move a PDF into Obsidian or Notion Turn a PDF — a paper, a manual, lecture notes — into Markdown you can paste into Obsidian or Notion, with real headings, lists, tables and links instead of broken lines. Free, and the PDF is never uploaded.
Why not just use Print to PDF?
Print to PDF is fine for a quick copy, but it prints what the browser shows — cookie banners, sidebars and all — and breaks pages wherever the paper runs out. These converters lay the content out for paper: margins, page breaks that avoid splitting a line or a code block, and headings that become PDF bookmarks.
Markdown is rendered the way GitHub renders it, with tables, task lists and syntax-highlighted code.
Questions
Can I convert a live web page by its URL?
Not from here — fetching other sites would mean contacting them, and this site never does. Save the page (Ctrl+S or ⌘S, “Web Page, HTML Only”), then drop the .html file into HTML to PDF.
Does Markdown to PDF support code highlighting?
Yes, for about 35 common languages, plus tables and task lists. Markdown to PDF also takes answers copied from ChatGPT, Claude or Gemini, whose Copy buttons give Markdown.