Convert IPYNB to PDF: 4 Reliable Methods (2026 Guide)

By PDFKits Team — Published July 2, 2026

Convert IPYNB to PDF: 4 Reliable Methods

A Jupyter Notebook (.ipynb) mixes code, output, and Markdown, so to convert ipynb to pdf you want a method that preserves all three. Below are four ways, from the official nbconvert command to a zero-install browser fallback for the exported result.

Method 1: nbconvert (Official Jupyter Tool)

  1. Install once: pip install nbconvert (plus a LaTeX engine for PDF).
  2. Run jupyter nbconvert --to pdf notebook.ipynb.
  3. If LaTeX is missing, use --to webpdf instead, which renders via a headless browser.

Method 2: Google Colab

Open the notebook in Colab, then choose File → Print → Save as PDF. This needs no local install and is the fastest way to convert .ipynb to pdf when you're already in the cloud.

Method 3: VS Code

With the Jupyter extension, open the .ipynb, click the menu, and select Export → PDF. VS Code handles the conversion using nbconvert under the hood.

Method 4: Browser Fallback (No Install)

If you only need the rendered notebook as a document, export it to HTML first (--to html), print that page to a PDF, then tidy or shrink it with the PDFKits compress PDF tool and combine chapters using merge PDF — all in your browser.

Methods Compared

MethodInstallKeeps code + outputBest for
nbconvert --to pdfpip + LaTeXYesPublication-quality PDFs
Google Colab printNoneYesCloud notebooks, quick export
VS Code exportJupyter ext.YesLocal dev workflow
HTML + PDFKitsNoneYes (rendered)No-LaTeX machines

Honest Limitations

The --to pdf path depends on LaTeX, which is the most common failure point; --to webpdf or Colab avoids it. Very wide code cells or large plots can overflow the page — adjust cell width or figure size before exporting rather than expecting the converter to reflow them.

FAQ

How do I convert ipynb to pdf without LaTeX?

Use nbconvert --to webpdf, or print from Google Colab/VS Code, then refine with the compress PDF tool.

Why is my PDF missing plots?

Re-run all cells so outputs are stored in the notebook before converting.

Can I merge several notebook PDFs?

Yes — the free merge PDF tool joins them in your browser.

Convert Your Notebook Now

Use nbconvert or Colab to render, then finish privately with the compress and merge tools — no uploads, no account.

→ Try txt to PDF — Free & Online