Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

Jupyter Notebook Viewer (IPYNB)

Read a .ipynb without Jupyter: Markdown, maths, highlighted code and outputs, nothing run.

Developer No upload Works offline Free preview, no sign-upIncluded in your pass Pro tool Pro pass: ₹179 for 30 days

Free preview.

  • Free preview: the first pages of the notebook (up to 2, of 10 cells each) under a watermark, with the cell, output and image counts of the whole file.
  • Locked until you unlock it: download, copy and print.
  • Unlock: Pro pass, ₹179 for 30 days, a one-time payment that never renews.

Ways to unlock shows how to get the full result.

See passes (opens in a new tab)

Printing this result is locked in the free preview.

Paste notebook JSON
The notebook appears as soon as the JSON is complete.

Next steps

About the Jupyter Notebook Viewer (IPYNB)

Open a Jupyter notebook (.ipynb) and read it the way Jupyter shows it, without installing Jupyter or starting a kernel. Markdown cells are rendered with their tables, links, pictures and LaTeX maths; code cells are syntax-highlighted; and the outputs saved in the file appear under each cell: printed text and logs, coloured error tracebacks, pandas tables (styled DataFrames keep their colours), charts and images saved as PNG, JPEG, GIF, WebP or SVG, and Markdown or LaTeX results. Notebooks from JupyterLab, the classic Notebook, VS Code, Google Colab and Kaggle open, and so do old nbformat 3 files.

Nothing in the notebook runs and nothing is uploaded: your browser reads the file, its HTML outputs are cleaned with DOMPurify before they are shown, and pictures linked from other websites load only when you ask. With a Pro pass, or once a notebook is unlocked, save it as a standalone HTML page or a PDF (with or without the code), extract its code as a script (.py for Python, like jupyter nbconvert --to script), or turn the whole notebook into Markdown.

How to use it

  1. Drop a .ipynb file on the box or press Choose a notebook. You can also paste the notebook’s JSON under Paste notebook JSON, or press Open the sample notebook to see what the viewer shows.
  2. Read it: Contents lists the notebook’s headings — select one to jump to it. Untick Code, Outputs or Prompts to hide the code, the results or the In [1]: numbers; cells that were collapsed in Jupyter stay folded until you open them.
  3. If the notebook shows pictures from other websites, press Load web images to fetch them; until then the page contacts no other site.
  4. With a pass, or once this notebook is unlocked, use Download HTML, Save as PDF, Download .py, Download Markdown or Copy code. The HTML and PDF follow what is shown, so unticking Code gives a report without code. The free preview shows the first pages and locks these exports.

Examples

Code as a Python script, the way nbconvert writes it
Input
In [1]: %matplotlib inline
        import pandas as pd
In [2]: !pip install seaborn
(Markdown cell) ## Load the data
In [3]: df = pd.read_csv("sales.csv")
        df.shape
Result
#!/usr/bin/env python
# coding: utf-8

# In[1]:


get_ipython().run_line_magic('matplotlib', 'inline')
import pandas as pd


# In[2]:


get_ipython().system('pip install seaborn')


# ## Load the data


# In[3]:


df = pd.read_csv("sales.csv")
df.shape

This is Magics: IPython calls, which matches jupyter nbconvert --to script; such a script needs IPython (ipython script.py).

The same notebook as a script that plain Python runs
Input
Export options: Magics “Comment out”, In [ ] numbers off
Result
#!/usr/bin/env python
# coding: utf-8

# %matplotlib inline
import pandas as pd


# !pip install seaborn


# ## Load the data


df = pd.read_csv("sales.csv")
df.shape

Magics and shell commands become comments, so python script.py runs it; install the packages yourself first.

Markdown with the outputs and the images as separate files
Input
(Markdown cell) ## Results
In [4]: print(f"{len(df)} rows")   → 1204 rows
In [5]: df.plot()                  → a chart (PNG)
Saved from report.ipynb with Images: “Separate files (ZIP)”
Result
## Results

```python
print(f"{len(df)} rows")
```

```
1204 rows
```

```python
df.plot()
```

![png](report_files/output_2_0.png)

The ZIP holds report.md and the folder report_files/ with output_2_0.png, like jupyter nbconvert --to markdown. Choose Embedded instead to put the pictures inside the .md file as data URLs.

What the viewer shows

  • Markdown cells with GitHub-style tables, task lists, links, pictures and attachments (images pasted into a cell), and maths between $…$, $$…$$, \(…\), \[…\] or in \begin{align}…\end{align} blocks, drawn as MathML. A \newcommand in one cell works in the cells after it.
  • Code cells with highlighting for Python, R, Julia, JavaScript, TypeScript, Scala, SQL and other kernel languages; cells that start with %%bash, %%sql or %%html are highlighted in that language.
  • Outputs in Jupyter’s order of preference: HTML (pandas tables), Markdown, LaTeX, SVG, then PNG, JPEG, GIF or WebP images, then plain text. Logs keep their colours and progress bars show their last state, as in JupyterLab; audio and video saved in the notebook play.
  • Errors with the full coloured traceback, and the In [n]: / Out[n]: numbers of the last run.
  • Cells collapsed in Jupyter (hidden input or output, hide-input tags) stay folded until you open them. Raw cells are shown as plain text.

Safe for notebooks from anyone

A notebook can carry HTML and JavaScript in its outputs. Here nothing runs: DOMPurify removes scripts, event handlers, forms and embedded frames, the notebook’s styles are limited to colours, fonts and alignment, and nothing in it can reach the rest of the page. Pictures and media stored in the file are shown from your own copy of it. Links to other websites open in a new tab, and pictures on other websites are fetched only after you press Load web images.

Exports

  • HTML: one file with the pictures inside it and the maths as MathML, which current browsers show without any library. No scripts, so it opens anywhere and can be emailed or attached.
  • PDF: Save as PDF opens your browser’s print dialog with a clean, light layout; choose Save as PDF as the printer. Cells are kept on one page where they fit.
  • Script: the code cells in order, with the file extension of the notebook’s language (.py, .r, .jl …). Choose how IPython magics and ! commands are written, and whether Markdown cells and # In[n]: lines become comments.
  • Markdown: Markdown cells as they are, code in fenced blocks and the outputs after it; pictures embedded in the file or saved next to it in a ZIP.

Limitations

  • Only what was saved in the file can be shown: a notebook saved without outputs, or with its outputs cleared, shows its code alone. Run it in Jupyter or Colab and save it to bring the outputs back.
  • Interactive outputs need a running kernel or JavaScript: ipywidgets, Plotly, Bokeh, Altair and Folium maps show their saved picture or text form with a note.
  • Files next to the notebook — figures/plot.png in a Markdown cell, a CSV, a link to another notebook — are not inside the .ipynb file, so they cannot be shown.
  • Notebooks up to 100 MB open. Very long text outputs show their first 2,000 lines, with a button for the rest.
  • Maths that is not standard LaTeX (MathJax extensions such as \require) is shown as its TeX source.
  • The PDF comes from your browser’s print dialog, so its page size, margins and page breaks are set there.

Privacy

Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.

Frequently asked questions

What do I get without a pass?

Without a pass, Jupyter Notebook Viewer (IPYNB) shows the first pages of the notebook (up to 2, of 10 cells each) under a watermark, with the cell, output and image counts of the whole file. Until you unlock it, the result can’t be downloaded, copied or printed. A Pro, Premium or Ultimate pass, a one-time payment that never renews, unlocks the full result. The pricing page lists the passes and their prices.

How do I open an .ipynb file without Jupyter?

Drop it on the box above: the notebook appears with its Markdown, code and saved outputs. You don’t need Python, Jupyter or an account for that. To run the code you still need a kernel — JupyterLab, VS Code with the Jupyter extension, or an online service such as Google Colab.

Is it safe to open a notebook someone sent me?

Yes. The notebook’s code is never run, and its HTML outputs are cleaned before they are shown: scripts, event handlers, forms and frames are removed, and pictures from other websites wait until you allow them. The file stays on your device.

Why are some outputs missing?

The viewer shows the outputs saved in the file. If the notebook was saved before it ran, or its outputs were cleared (as many people do before committing to git), there are none to show. Widgets and interactive charts are drawn by JavaScript in Jupyter, so they appear here as their saved image or text with a note.

How do I convert a Jupyter notebook to PDF?

Open it here and press Save as PDF, then pick Save as PDF in the print dialog. Untick Code first for a report with only the text and results. On the command line, jupyter nbconvert --to pdf needs a LaTeX installation and --to webpdf needs a headless browser.

How do I turn an .ipynb into a .py file?

Press Download .py. With Magics: IPython calls you get what jupyter nbconvert --to script notebook.ipynb writes: %magics and !commands become get_ipython() calls. Comment out turns them into comments instead, so plain python can run the script.

Do notebooks from Google Colab, Kaggle and VS Code work?

Yes. They all save standard .ipynb files (nbformat 4): download or save the notebook as .ipynb and open it here. Colab-specific outputs such as its interactive table view fall back to the plain table or text the notebook also saved.

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.