Terug naar blog

Convert IPYNB to PDF Online: The No-Install Guide

A complete walkthrough of converting Jupyter Notebooks to PDF entirely in the browser — no Python, no LaTeX, no command line. Covers ipynbtopdf.org, Colab, and browser print.

  • #online
  • #guide
  • #no-install

Not everyone who needs a Jupyter Notebook PDF is a Python developer. Students, researchers, analysts, consultants, journalists — most just want to turn a .ipynb into a clean PDF without installing anything. This guide is for them.

We'll cover three paths that work entirely in your browser, ranked by convenience.

Option 1 — Dedicated Online Converter (Recommended)

A purpose-built converter like ipynbtopdf.org is the fastest, most reliable no-install path.

Steps:

  1. Open the site in any modern browser (Chrome, Firefox, Safari, Edge).
  2. Drag your .ipynb file onto the page, or click to browse.
  3. Wait ~3 seconds while the conversion runs server-side.
  4. Click "Download PDF".

Why this is usually the best choice:

  • No install. Nothing to download, no Python environment, no LaTeX.
  • Cross-platform. Works identically on macOS, Windows, Linux, ChromeOS, iPads, and even phones.
  • Faithful rendering. Code highlighting, matplotlib charts, plotly figures, pandas DataFrames, and LaTeX math all render correctly.
  • Wide table handling. Long pandas DataFrames stay readable instead of being clipped.
  • Secure. Files are processed over HTTPS and deleted automatically after conversion.

When to avoid it: if your notebook contains sensitive data that absolutely cannot leave your machine, use a local method instead.

Option 2 — Google Colab

If your notebook already lives in Colab (or you can upload it there), Colab has a built-in print-to-PDF path.

Steps:

  1. Open colab.research.google.com and sign in.
  2. File → Upload notebook and choose your .ipynb.
  3. Runtime → Run all to regenerate outputs.
  4. File → Print → choose "Save as PDF" as the destination.

Pros: Free, works on any device with a browser. Cons: You have to upload the notebook to Google's servers and wait for runtime to start. Page breaks are rough — long code cells and wide tables get clipped. Best for short notebooks.

Option 3 — HTML Export + Browser Print

A DIY path that works well if you already have nbconvert but not LaTeX.

Steps:

  1. Run jupyter nbconvert --to html notebook.ipynb locally (or use an online nbconvert host).
  2. Open the resulting HTML file in your browser.
  3. Cmd/Ctrl + P → "Save as PDF".

Pros: Total control over the output via print CSS. Works offline once you have the HTML. Cons: Requires Python locally for the first step. Cell numbering doesn't always survive. You'll likely need to hand-tweak CSS for wide tables and large figures.

Handling Common Notebook Features

Whichever online path you choose, here's how to make sure your notebook's trickier elements convert cleanly.

Matplotlib Charts

Save figures explicitly with a reasonable DPI before exporting:

plt.savefig("chart.png", dpi=150, bbox_inches="tight")

Online converters will pick up the embedded image. Avoid relying on interactive %matplotlib widget outputs — those don't translate to PDF.

Plotly Figures

Plotly's interactive widgets don't survive PDF conversion. Convert to static first:

import plotly.io as pio
pio.write_image(fig, "plot.png", width=1200, height=600, scale=2)

Wide pandas DataFrames

Long tables get clipped in any PDF. Trim before exporting:

df.head(50).to_html("table.html")
# Or limit columns
df.iloc[:, :10].head(50)

LaTeX Math

KaTeX-rendered math converts cleanly to PDF on most online converters, including ipynbtopdf.org. Just make sure your $...$ and $$...$$ delimiters are correctly paired.

Code Cells with Long Lines

Wrap long lines manually or use textwrap:

import textwrap
print(textwrap.fill(long_string, width=72))

Most online converters will clip lines beyond ~120 characters.

Privacy Considerations

When you upload a notebook to any online service, you're trusting them with its contents. Things to check:

  1. HTTPS everywhere. If the site doesn't have a valid TLS certificate, leave immediately.
  2. Deletion policy. Look for explicit statements about automatic deletion. ipynbtopdf.org deletes files after conversion — look for the same commitment anywhere else.
  3. No third-party analytics on file contents. Some shady converters pipe uploaded files through analytics services. Stick with purpose-built tools.
  4. Your data sensitivity. If the notebook contains PII, financial data, or anything covered by NDA/HIPAA/GDPR, use a local converter instead.

Mobile / Tablet Workflow

Online conversion is the only realistic path on iOS and Android. The workflow is identical to desktop:

  1. Open ipynbtopdf.org in Safari (iOS) or Chrome (Android).
  2. Use the file picker to choose a .ipynb from Files / Google Drive / iCloud.
  3. Download the PDF back to Files.

This is genuinely useful for reviewing notebooks on the go — you can convert a colleague's notebook on your phone during a commute.

Which Option Should You Pick?

SituationBest online method
Just need a PDF, no constraintsipynbtopdf.org
Notebook already in ColabColab's File → Print
Want to hand-tweak print CSSHTML export + browser print
Sensitive data, no uploads allowedUse a local method instead

Conclusion

For the vast majority of users, a dedicated online converter is the right answer: nothing to install, works everywhere, produces a clean PDF in seconds. Colab and browser-print are useful fallbacks, but they come with more friction and lower output quality. Whatever you pick, the tips above will help your notebook's charts, tables, and math survive the conversion intact.