Jupyter Notebook Tools

Drop a Jupyter notebook right here to read it with its code, outputs and plots, or pick a tool to turn it into a PDF, a web page, a Python script or Markdown. Every tool works in your browser, without Python, and never runs the notebook’s code.

Files never leave your browserHow?

Open a notebook

or drop an .ipynb file here, paste its JSON or an https:// link
Theme

Open a Jupyter notebook (.ipynb) or load the sample. The file stays on your device and no code is run.

Tools in this category

What is a Jupyter notebook?

A Jupyter notebook mixes code, explanations and results in one document. The .ipynb file is JSON in the nbformat layout: a list of cells and some metadata such as the kernel — the language the code runs in, usually Python, sometimes R, Julia or another one. Markdown cells hold text with headings, lists, tables, links and LaTeX formulas. Code cells hold the source and the outputs it produced the last time it ran: printed text, error tracebacks with ANSI colours, pandas tables as HTML, Matplotlib or Seaborn charts as PNG or SVG pictures, LaTeX from SymPy, sometimes JavaScript for interactive charts and widgets. Because outputs are saved in the file, a notebook can be read later without running anything — which is exactly what these tools do.

What you can do here

Read any notebook in the Jupyter Notebook Viewer: it shows the kernel and format, hides or shows code and outputs, and opens notebooks from a raw GitHub link. Get a PDF file in one click with IPYNB to PDF, choosing paper, orientation, margins and whether code goes in. Share a single offline web page with IPYNB to HTML. Pull the code out as a runnable script with IPYNB to PY, with # %% cell markers and IPython magics commented out, or exactly in nbconvert’s layout. Write a README or blog post with IPYNB to Markdown, with plots embedded or saved as image files. For plain Markdown documents there is Markdown to PDF and the Markdown viewer.

How these tools work

The notebook is parsed by our own code and drawn with the same parts as the site’s Markdown tools: markdown-it for Markdown cells, KaTeX for formulas and CodeMirror’s Lezer grammars for syntax colours; ansi_up turns terminal colours into HTML. HTML and SVG outputs are cleaned by DOMPurify, and the rendered notebook is shown in an isolated frame that cannot run scripts or load anything from the internet. IPYNB to PDF writes the PDF file with our own typesetter in a background worker (formulas and SVG charts become pictures); its second route, Print / Save as PDF, leaves it to your browser’s print engine. Our script and Markdown output was checked against jupyter nbconvert 7.17 on notebooks executed by a real IPython kernel.

Last updated:

FAQ

What is an .ipynb file?

A Jupyter notebook: a JSON file with a list of cells — code, Markdown text and raw text — plus the outputs each code cell produced the last time it ran, such as printed text, tables and images.

Do I need Python or Jupyter to use these tools?

No, you do not need Python or Jupyter to use these tools. Notebooks are read and converted by JavaScript in your browser. You need Jupyter, VS Code or Colab only to edit a notebook or run it again.

Is the code in the notebook executed?

Never. The tools show and convert what the file contains; outputs are the ones saved in it. Scripts in HTML outputs and interactive widgets are not run.

Which notebook versions work?

nbformat 4 (Jupyter Notebook 4 and later, JupyterLab, VS Code, Colab, Kaggle) and nbformat 3 (IPython 2 and 3). Files up to 100 MB.

Are my notebooks uploaded?

No, your notebooks are not uploaded. Files stay on your device; a link you paste is downloaded by your own browser.

Other categories