Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

PDF to HTML

Converts a PDF into one self-contained, readable HTML file preserving images, tables, charts and reading order — with optional translation.

Docs & OfficeIntermediate1,323212AI score 10/10Last updated: Aug 8, 2026

What it does

  • Extracts PDF structure with PyMuPDF: text blocks with font sizes, images (flagged decorative or not), plus a PNG render of every page.
  • Infers heading levels from font size, drops decorative images, and inlines content images as compressed base64 → a single portable HTML file.
  • Optionally translates into another language via a parallel per-page workflow that keeps terminology consistent and captions data charts.
  • Requires a mandatory headless-Chrome visual verification pass: rendered PNG segments are read back to catch tofu fonts, clipped tables and missing figures.
  • Documents hard fidelity rules from past failures — never invent translated names for real people, copy every number and proper noun verbatim.

Who it's for

  • Anyone who wants to actually read a dense report or paper on a phone or browser
  • Teams translating foreign-language PDFs without losing charts and tables
  • People who need a shareable one-file document instead of a folder of assets

Examples

  1. "Translate this English whitepaper into Chinese but don't lose the charts" → translated HTML with figures intact
  2. "Make this 40-page report readable on my phone" → one self-contained HTML with inlined images
  3. "Convert this academic paper to HTML keeping figures and tables" → decorative art stripped, content figures preserved

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/daymade/claude-code-skills/HEAD/daymade-docs/pdf-to-html/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the daymade-docs/pdf-to-html folder from the GitHub repo daymade/claude-code-skills into my ~/.claude/skills/pdf-to-html/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/daymade/claude-code-skills.git && mkdir -p ~/.claude/skills && cp -r claude-code-skills/daymade-docs/pdf-to-html ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Install uv and Google Chrome (or Chromium) first. Install uv with curl -LsSf https://astral.sh/uv/install.sh | sh.
  2. Clone the repository: git clone https://github.com/daymade/claude-code-skills.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill in: cp -r claude-code-skills/daymade-docs/pdf-to-html ~/.claude/skills/
  5. Restart Claude Code and ask something like "turn this PDF into an HTML page" to trigger it.
  6. For scanned, image-only PDFs, run ocrmypdf first to add a text layer.