Tu Markdown,
como PDF listo para imprimir.
Pega Markdown, suelta un archivo o carga un README público de GitHub. md2pdf lo maqueta con el tema de impresión que elijas y abre el diálogo de PDF de tu navegador, todo en tu dispositivo.
# React []()
React is a JavaScript library for building
user interfaces.
## Installation
```bash
npm install react react-dom
```
## Features
| Feature | Client-Side | Server |
|---------|:-----------:|:------:|
| Components | Yes | Yes |
| Hooks | Yes | Yes |
| Suspense | Yes | Yes | React
React is a JavaScript library for building user interfaces.
Installation
$ npm install react react-dom Features
| Feature | Client | Server |
|---|---|---|
| Components | ✓ | ✓ |
| Hooks | ✓ | ✓ |
Convertidor
Tres formas de empezar: la URL de un repositorio, un archivo Markdown o el teclado. La vista previa es el documento.
1 · URL del repositorio de GitHub
Obtiene el README (prueba main/master y variantes de mayúsculas), resuelve imágenes e insignias relativas y lo muestra abajo. Los repositorios privados no son compatibles.
2 · …o pega o sube Markdown
3 · Tema de impresión
El tema Dark se lee bien en pantalla pero se imprime mal: lo aclaramos automáticamente para la impresión y el PDF.
4 · Opciones
La exportación usa la impresión a PDF del navegador (100 % en el navegador). Elige «Guardar como PDF» en el diálogo de impresión.
Libro de documentación
Apunta a un repositorio, elige los archivos Markdown que van juntos e imprime un libro paginado: portada, contenido general y cada capítulo en el orden que establezcas.
1 · Repositorio
Encuentra archivos README, .md, .markdown y .mdown, incluidas las carpetas. Un libro admite como máximo 30 archivos; solo repositorios públicos.
Aviso sobre el listado
2 · Archivos Markdown
Aún no se ha escaneado ningún repositorio.
3 · Datos del libro
4 · Tema de impresión
5 · Capítulos
El orden de impresión sigue esta lista. Usa los botones de flecha para mover un capítulo o × para quitarlo.
Los capítulos aparecen aquí después de un escaneo.
No se pudieron cargar algunos archivos
6 · Exportación a PDF
Crea un PDF por cada capítulo compilado y los empaqueta en un archivo ZIP. Todo se ejecuta en tu navegador; no se sube nada.
Hasta 30 PDF y 128 MB por ZIP.
Parte del contenido se simplificó: los caracteres no compatibles se muestran como ? y las imágenes inaccesibles se omiten.
Mantén esta pestaña abierta hasta que empiece la descarga.
Archivos omitidos durante la exportación
Cada capítulo se convierte en un PDF independiente dentro del ZIP, conservando la ruta de su carpeta.
Un libro solo se imprime cuando se han cargado todos los capítulos seleccionados. La exportación usa la impresión a PDF del navegador: elige «Guardar como PDF» en el diálogo.
Engineered for Technical Accuracy
From GitHub URL parsing to embedded CJK font rendering, every stage is built for zero data leakage, high print fidelity, and deterministic output.
Deep GitHub Auto-Discovery
Accepts any GitHub URL format: full repo links, subfolder paths, tree views, blob files, or raw URLs. Automatically queries the GitHub API, probes 10 standard README filenames, and rewrites relative images and links to raw GitHub content.
100% Client-Side Privacy
No login, no user accounts, and zero application backend. All markdown parsing, HTML sanitization via DOMPurify, and PDF compilation run entirely in browser memory.
Multi-Chapter Doc Books
Scan entire repositories via Git Trees API. Select up to 30 markdown files with tri-state directory checkboxes, reorder chapters, and generate automated cover pages and tables of contents.
Multilingual Font Embedding
PDFs embed standalone TTF fonts directly in output files. Full typography support for Latin, Cyrillic, Turkish, and CJK (Chinese, Japanese, Korean) via embedded Noto Sans CJK.
4 Print Themes & Bulk ZIP Export
Choose between Clean, Business, Academic, and Dark themes with print margin optimization. Print single documents or books directly, or export a packaged ZIP containing individual chapter PDFs with deterministic naming.
Cómo funciona
Tres pasos, sin cuenta y sin renderizador en el servidor.
Dale un repositorio
Paste a GitHub repo URL, branch path, or paste Markdown directly. md2pdf resolves default branches, auto-discovers READMEs, and parses GitHub Flavored Markdown in milliseconds.
Abrir el convertidorMíralo renderizarse
Filter files through the searchable tree, sequence chapters, add titles, and choose from Clean, Business, Academic, or Dark print themes.
Comparar los temasImprime a PDF
Trigger isolated browser print to save a pixel-perfect PDF, or click Export to download a zipped archive of all selected chapter PDFs with self-hosted font embedding.
Leer la nota de privacidadBuilt for Real Documentation Needs
Whether you are boarding a 14-hour flight or handing over an enterprise software deliverable, md2pdf turns Markdown into publication-grade documents.
Offline Reading & Travel
Download and archive complex repository documentation into readable, paginated PDFs for flights, commutes, e-readers, or air-gapped development environments where internet access is unavailable or restricted.
- Retains internal heading links and relative images offline
- High-contrast typography tuned for physical reading & tablets
- Table of contents enables quick chapter navigation
Client Handover & Deliverables
Deliver software projects to non-technical stakeholders and clients with professional, branded PDF documentation rather than raw GitHub repository URLs.
- Automated cover page with title, subtitle, and date
- Clean table and code formatting that looks executive-ready
- Single-click batch ZIP export for client deliverables
Team Onboarding & Runbooks
Turn fragmented repository guides, architecture notes, and deployment runbooks into a single consolidated, sequenced onboarding handbook for new hires.
- Assemble multiple markdown files into one cohesive book
- Custom chapter ordering: overview → setup → architecture
- Standardized print layout across all engineering repos
Confidential Notes & Specs
Convert proprietary code documentation, API specs, and private markdown notes into PDFs with absolute confidence. All compilation occurs inside local browser memory.
- Zero server upload — text never traverses the internet
- DOMPurify sanitization ensures safe, clean output
- No account registration or token generation required
Cuatro temas de impresión
Cada tema es una hoja de estilos de impresión, no un cambio de colores: elige el registro que pide tu documento.
Clean
DefaultSans neutra, la opción predeterminada para especificaciones y READMEs.
Business
ExecutiveEncabezados con serif y bloque de código oscuro para informes.
Academic
FormalPáginas serif justificadas para prosa extensa.
Dark
OLED / ScreenPensado para pantalla; se aclara automáticamente al imprimir para no perder nada.
Frequently Asked Questions
Everything you need to know about privacy, GitHub API rate limits, font embedding, and documentation books.
Is my repository code or private Markdown uploaded to any server?
No. 100% of markdown parsing, sanitization, PDF layout, and ZIP packaging happens directly inside your browser memory. md2pdf has zero application backend, zero database, and zero telemetry.
What happens if the GitHub API rate limit is exceeded?
When GitHub unauthenticated API limits are reached, md2pdf automatically falls back to raw content streaming via raw.githubusercontent.com, allowing public READMEs to convert without interruption.
How does the Documentation Book builder work?
The Book builder uses the Git Trees API to scan the repository structure. You can search, filter, and select up to 30 markdown files with tri-state directory checkboxes, reorder the chapter sequence, generate an automatic cover and master table of contents, and print or download a ZIP archive of PDFs.
Are relative images and internal links preserved in the PDF?
Yes! Relative image paths (such as ./assets/screenshot.png) are automatically rewritten to raw.githubusercontent.com pinned to the specific branch or commit SHA, and external links are preserved as clickable PDF URI annotations.
Which languages and Unicode scripts are supported?
md2pdf embeds standalone fonts in the exported PDFs: DejaVu Sans and DejaVu Sans Mono for Latin, Cyrillic, and Turkish, and Noto Sans CJK SC for Chinese, Japanese, and Korean text.
Can I print without creating a PDF file on disk?
Yes. md2pdf features a dedicated browser print isolation engine. Clicking "Print" formats only the styled document sheet with native page breaks, allowing you to use your browser's Print dialog to print directly or save as PDF.
Human-Readable Sitemap
Comprehensive index of all tools, features, technical guides, documentation, and project links.