iLoveMD
100% in your browser

Convert a Jupyter Notebook to Markdown

Turn a Jupyter .ipynb file into one clean Markdown document. Code becomes fenced blocks, prose stays prose, and plots and outputs are included. Everything runs in your browser; nothing is uploaded.

  • Always free
  • No uploads
  • No sign-up
  • No tracking

← All conversion tools

Drop a .ipynb file here or click to upload .ipynb
No files selected

Notebook JSON (.ipynb)

Markdown Preview

Export Your Results

Jupyter Notebook to Markdown Docs

A Jupyter notebook (.ipynb) is a JSON file holding your markdown notes, code cells, and the outputs each cell produced. This tool turns that into one readable Markdown document: prose stays prose, code becomes fenced code blocks, and results, printouts, plots, and errors are included as outputs. The whole conversion runs in your browser, so the notebook is never uploaded.

What gets converted

  • Markdown cells pass through as Markdown, so headings, lists, links, and tables keep their formatting.
  • Code cells become fenced code blocks, labelled with the notebook's language (Python, R, Julia, and so on).
  • Outputs are included below their cell: printed text and results as code blocks, plots and images inline, and error tracebacks as plain text (terminal color codes are stripped).
  • Pasted images in markdown cells (notebook attachments) are embedded inline.

Options options

  • Include cell outputs (on by default): adds each cell's results, printouts, and errors. Turn it off for a clean code-and-notes document, which is handy when pasting into an LLM.
  • Include images (on by default): embeds plots and attachments as inline images. Turn it off for a smaller, text-only file.
Tip: for a compact version to share or feed to a model, turn outputs and images off; for a faithful record of a run, leave both on.

Limits & privacy

  • Current Jupyter format (nbformat v4). Very old v3 notebooks are detected and asked to be re-saved in Jupyter first.
  • Image outputs are kept for PNG, JPEG, and GIF. Interactive widgets and other rich output types are skipped.
  • Privacy: the notebook is read and converted entirely in your browser. Nothing is uploaded, and the tool never fetches anything referenced inside the file.

How to convert a Jupyter notebook to Markdown

1

Drop your notebook

Drop a .ipynb file onto the upload strip, or click to choose one. It is read in your browser; nothing is uploaded.

2

We convert it

Markdown cells stay as prose, code cells become fenced blocks, and outputs and plots are included below their cell.

3

Copy or download the Markdown

Copy the result to your clipboard or download it as a .md file.

Frequently asked questions

Does it keep the code and the outputs?

Yes. Code cells become fenced code blocks, and each cell's outputs (printouts, results, plots, and errors) are included below it. You can turn outputs off for a code-and-notes document.

Are plots and images included?

Yes. Plot images and pasted attachments are embedded inline (PNG, JPEG, and GIF). You can turn images off for a smaller text-only file.

Which notebook format is supported?

Current Jupyter notebooks (nbformat v4). A very old v3 notebook is detected and asked to be re-saved in Jupyter first.

Is my notebook uploaded anywhere?

No. The file is read and converted entirely in your browser, and the tool never fetches anything referenced inside it.

Can I convert several notebooks at once?

Yes. Drop multiple .ipynb files and each is converted to its own Markdown file.