Guide
How to Share an IPYNB File
Choose an IPYNB, HTML, Python, or PDF format based on what the recipient needs to inspect, run, or archive.
Choose the file format by the recipient's task
Send the `.ipynb` file when the recipient needs the notebook's cell structure, source code, Markdown, metadata, and saved output. They will still need a suitable runtime, packages, data, and permissions to rerun it.
Send a PDF when the recipient only needs a stable, readable document. Send HTML for a browser-readable static document, or a Python file when the recipient needs code cells without the notebook interface.
Review saved content before sharing
An IPYNB file can retain paths, secrets, table rows, error traces, charts, and output even when the code cells look harmless. Inspect source and output before sending it to a teacher, colleague, repository, or public service.
Do not assume a PDF hides sensitive information. It can preserve any saved content included in the selected print mode, so check the preview first.
Make the result reproducible when needed
A notebook file is not a complete execution environment. If a recipient needs to run it, document the Python version, packages, data source, and setup steps separately. Do not place passwords, API keys, or private dataset paths in those instructions.
Use Full Notebook mode when a reviewer needs source and saved output in the same print copy. Use Report mode when the shared document should focus on explanations and results.
Use the local tools for deterministic exports
This site can export a selected notebook locally as sanitized HTML or as a Python script, and can prepare a browser print view for PDF. The tools do not execute cells or upload the notebook for conversion.
For a hosted notebook service, read its sharing and data-handling rules before uploading or granting access. A local export is usually the safer choice for sensitive material that only needs a static review copy.
Last reviewed against official documentation: 2026-08-09. Source: Jupyter nbconvert documentation