# pdf2htmlEX/pdf2htmlEX

Convert PDF to HTML without losing text or format.

Repository: https://github.com/pdf2htmlEX/pdf2htmlEX
Canonical: https://ross.abutalabs.com/products/pdf2htmlex-pdf2htmlex
Homepage: https://pdf2htmlEX.github.io/pdf2htmlEX/
Language: HTML
License: NOASSERTION
License Family: other
Topics: pdf, html, pdf-document-processor, pdf-viewer
Last push: 2025-07-17T13:00:10+00:00

## Health v2 (maintenance only)
Score: 37/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 32, release rhythm 8, longevity 100
- inputs: {"age_days": 3145, "days_push": 412, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5589, forks 517 (observed 2026-08-28T04:09:22.667303+00:00)

## What it is
pdf2htmlEX is a command-line tool that converts PDF files into HTML while preserving text, fonts, and formatting using modern web technologies. It supports precise rendering, text selection, font embedding, and offers ~50 options for use cases like PDF preview and online publishing.

## Use cases
- convert pdf to html without losing text or format
- publish pdf documents online as web pages
- make pdf text selectable and searchable in the browser
- embed pdf documents in a website without plugins
- convert scanned or complex pdfs with fonts and math formulas to html
- render pdf magazines or books for reading while downloading

## When to choose
- you need accurate, high-fidelity pdf-to-html conversion with preserved typography
- you want text selection and font embedding in the output html
- you need a scriptable cli tool with many output options
- you want to publish pdfs as plugin-free interactive web documents

## When to avoid
- you need to extract plain text or structured data rather than visual html
- your pdfs rely on Type 3 fonts, which are not yet supported
- you need a maintained library API rather than a standalone converter
- output html file size is a critical constraint without post-processing

## Facets
- artifact type: cli-tool
- maturity: active
- function: pdf, parser, ocr
- domain: pdf, web-development, files
- platform: windows, cli
- tags: pdf-to-html, document-conversion, font-embedding, web-publishing, text-preservation, linux, macos, docker

## Member repositories
- pdf2htmlEX/pdf2htmlEX (main) score 37

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:22.667303+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:55:31.382295+00:00, confidence not recorded.
  - readme: https://github.com/pdf2htmlEX/pdf2htmlEX (fetched 2026-08-28T04:09:22.667303+00:00, sha 9c69dccc8f62)
  - homepage: https://pdf2htmlEX.github.io/pdf2htmlEX/ (fetched 2026-08-29T08:50:25.274644+00:00, sha b03c9df07d1a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
