Guide · 4 min read · Updated 2026-08-09

How to Convert a Jupyter Notebook to PDF

Exporting a notebook to PDF is famously annoying: the standard route wants a full LaTeX distribution just to produce one file. This does it in your browser instead.

Drop your file hereor choose a file from your deviceAccepted: IPYNB

This file never leaves your browser.

Convert your notebook

Drop an .ipynb file below. Nothing is uploaded, which also means notebooks containing client data or unpublished research stay on your machine.

What gets included

A notebook is a JSON file listing cells. The converter walks those cells in order and renders each according to its type:

  • Markdown cells become formatted prose, with headings preserved.
  • Code cells appear in a monospaced block so indentation survives.
  • Text outputs, stdout and printed results follow the cell that produced them.
  • Execution order stays exactly as saved in the file.
The result line reports how many cells were rendered, which is a quick way to confirm the whole notebook made it through.

Steps

  1. 1
    Save your notebook firstOutputs are read from the saved .ipynb, so anything not saved will not appear.
  2. 2
    Choose the .ipynb fileIf the JSON is malformed the tool says so immediately rather than producing a broken PDF.
  3. 3
    ConvertCells are rendered in order onto A4 pages with automatic page breaks.
  4. 4
    Download the PDFReady to attach to an email, submit as coursework or archive.

Why not nbconvert

The official path is `jupyter nbconvert --to pdf`, which routes through LaTeX. It produces beautiful output and is the right answer if you already have the toolchain — but on a clean machine it means installing a multi-gigabyte TeX distribution, and it fails with cryptic errors when a font or package is missing.

This toolnbconvert + LaTeX
Install requiredNoneTeX distribution, often several GB
Typographic qualityClean and readableExcellent
Plot imagesNot embeddedEmbedded
Works offline in a browserYesNo, needs a local toolchain
Good forSharing and quick submissionPublication-quality documents

Frequently Asked Questions

Are plots and charts included?

No. Image outputs such as matplotlib figures are not embedded — the PDF covers markdown, code and text output. If your notebook is mostly plots, nbconvert or printing from the browser will serve you better.

Do I need Jupyter installed?

No. The .ipynb file is plain JSON, and everything is parsed in your browser. You can convert a notebook on a machine that has never had Python on it.

Will long code lines be cut off?

Lines are wrapped rather than truncated, so no code is lost, though very long lines will wrap at the page margin.

Is my notebook data private?

Yes. The file is parsed locally in your tab and never transmitted, which is the main reason to use this over an upload-based service for work notebooks.

Related Tools

Related Guides