Skip to converter
Бесплатно · Без регистрации · Ничего не загружается

Ваш Markdown —
в PDF, готовый к печати.

Вставьте Markdown, перетащите файл или загрузите публичный README из GitHub. md2pdf оформит его в выбранной теме для печати и откроет диалог PDF в браузере — всё на вашем устройстве.

Zero Server Uploads Instant Client-Side Compile 9 Locales + CJK Fonts
github.com/facebook/react/README.md — md2pdf live engine
Print Ready
Markdown Source README.md
# React [![npm](badge.svg)]()

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 |
PDF Preview (Clean Theme) Page 1 of 1
README.pdf A4 · 300 DPI

React

React is a JavaScript library for building user interfaces.

Installation

$ npm install react react-dom

Features

Feature Client Server
Components ✓ ✓
Hooks ✓ ✓
Single Document Engine

Конвертер

Три способа начать: URL репозитория, файл Markdown или клавиатура. Предпросмотр — это и есть документ.

1

1 · URL репозитория GitHub

Загружает README (пробует main/master и варианты регистра), подставляет относительные изображения и бейджи и показывает результат ниже. Приватные репозитории не поддерживаются.

2

2 · …или вставьте / загрузите Markdown

Сохранено локально
3

3 · Тема печати

4

4 · Параметры

Предпросмотр в реальном времени
Multi-Chapter Engine

Книга документации

Укажите репозиторий, выберите файлы Markdown, которые должны быть вместе, и напечатайте единую книгу с разбивкой на страницы: обложка, общее оглавление и все главы в заданном порядке.

1

1 · Репозиторий

Находит файлы README, .md, .markdown и .mdown, включая папки. В книге может быть не более 30 файлов; только публичные репозитории.

2

2 · Файлы Markdown

Файлы не выбраны.

Репозиторий ещё не просканирован.

3

3 · Сведения о книге

4

4 · Тема печати

5

5 · Главы

Порядок печати соответствует этому списку. Используйте кнопки со стрелками, чтобы переместить главу, или ×, чтобы удалить её.

    Главы появятся здесь после сканирования.

    6 · Экспорт в PDF

    Создаёт отдельный PDF для каждой собранной главы и упаковывает их в ZIP-архив. Всё выполняется в браузере; ничего не загружается на сервер.

    До 30 PDF и 128 МБ на один ZIP.

    Каждая глава становится отдельным PDF в ZIP; путь к папке сохраняется.

    Предпросмотр книги
    Core Architecture

    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.

    GitHub Import

    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.

    Zero Telemetry

    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.

    Book Builder

    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.

    Font Engine

    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.

    Export & Print

    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.

    Deterministic Flow

    Как это работает

    Три шага, без аккаунта и без серверного рендерера.

    01

    Укажите репозиторий

    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.

    Открыть конвертер
    02

    Посмотрите, как он отрисовывается

    Filter files through the searchable tree, sequence chapters, add titles, and choose from Clean, Business, Academic, or Dark print themes.

    Сравнить темы
    03

    Напечатайте в 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.

    Прочитать о приватности
    Real-World Workflows

    Built 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.

    Archival Ready

    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
    Print Optimization

    Четыре темы для печати

    Каждая тема — это таблица стилей для печати, а не смена цвета: выберите тон, который подходит вашему документу.

    Clean

    Default

    Нейтральный шрифт без засечек по умолчанию для спецификаций и README.

    Business

    Executive

    Заголовки с засечками и тёмный блок кода для отчётов.

    Academic

    Formal

    Выровненные по ширине страницы с засечками для длинных текстов.

    Dark

    OLED / Screen

    Сначала для экрана; автоматически светлеет при печати, ничего не теряя.

    Common Questions

    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.