
Why a notebook file becomes huge
Plots, HTML tables, printed logs, and widget state are stored inside the JSON. How to find the heavy cell, and what stripping outputs changes.
JupyTools Blog
Deep-dive engineering articles on the .ipynb format, document exports, Git hygiene, troubleshooting corrupt JSON, and privacy-first notebook workflows.
19 articles · Page 1 of 2

Plots, HTML tables, printed logs, and widget state are stored inside the JSON. How to find the heavy cell, and what stripping outputs changes.

Kernelspec, language_info, cell ids, and editor keys are notes about the last editor. They are not the packages, the data, or a promise the file will run.

Saved HTML and SVG can do more than show a table. Trust is a local Jupyter decision. It does not travel with the file you email.

A notebook is JSON: cells, saved outputs, and metadata. What is stored, what is only a recording of a past run, and what never makes it into the file.

PDF, Word, Markdown, HTML, and Python keep different parts of a notebook. A format-by-format comparison of source, outputs, images, and what cannot round-trip.

Outputs, execution counts, tokens, and printed data are part of the file. A checklist for what to strip, what to keep, and how to search before you send an .ipynb.

Follow the public sample notebook through PDF, Word, Markdown, HTML, and Python. What you should see, what is missing on purpose, and how to tell a setting from a bug.

Reading a notebook is parsing JSON and showing saved cells. It does not require a kernel. When to use a text editor, when to use a viewer, and what not to run.

A practical decision guide for exporting a Jupyter notebook: when Word is better than PDF, when Markdown belongs in Git, and when you should refuse to convert at all.

Why notebooks explode in pull requests, what to strip vs keep, and when nbstripout is better than a one-off web cleaner.

An honest split: converters process a file for the current request; the viewer and diff stay in your browser. What we do not do, and how to treat secrets.

The usual ways .ipynb JSON breaks — Git conflict markers, missing cell IDs, truncated files — and what a repair tool can recover versus what is gone for good.