Document Tools

IPYNB to LaTeX Converter

Convert IPYNB to LaTeX right in your browser — nothing is uploaded. Papers, theses and reports are written in LaTeX, and notebook results have to move into them with their formulas intact.

By Aditya Kr Sharma Files stay on your device

  • Free
  • Instant
  • No sign-up

IPYNB to LaTeX converter

Convert

Or import from
Supports: IPYNBJSON

Nothing is uploaded. This tool runs entirely in your browser, so the file never leaves your device. There is no server to send it to, no copy kept anywhere, and it keeps working if you lose your connection after the page has loaded.

Accepts .ipynb .json You get: A .tex file (ZIP with figures) Free, no sign-up

How to convert

  1. Add your files Drag them in, choose files, or use the camera.
  2. Check the settings The defaults suit most files.
  3. Download Save one file, or all of them as a ZIP.

How to convert IPYNB to LaTeX

  1. Drop your IPYNB file on the box above, or paste its content into the text box.
  2. Check the settings below the box; the defaults suit most files.
  3. Press Convert. You see a preview or a summary of the result.
  4. Download the .tex file.

What is kept when you convert IPYNB to LaTeX

  • Markdown cells become sections, paragraphs and lists; $…$ and $$…$$ formulas are passed through unchanged as real LaTeX maths.
  • Code and text outputs go into Verbatim blocks (fancyvrb); saved chart images are included with \includegraphics and packed with the .tex file in a ZIP.
  • The preamble works with pdfLaTeX, XeLaTeX and LuaLaTeX (use XeLaTeX or LuaLaTeX for non-Latin scripts). Nothing in the notebook is executed.

Example

The document body for the two-cell notebook — the formula passes through as real LaTeX:

Output


\maketitle

\section*{Growth}

Rate $g = b/a - 1$.

\textbf{\texttt{In [1]:}}

\begin{Verbatim}[fontsize=\small,frame=single]
%matplotlib inline
print(150 / 120 - 1)
\end{Verbatim}

\begin{Verbatim}[fontsize=\small,frame=single]
0.25
\end{Verbatim}

\end{document}

About IPYNB and LaTeX files

An .ipynb file is a Jupyter notebook: a JSON document holding Markdown cells, code cells and the outputs (text, tables, charts) saved the last time the cells were run. It opens in Jupyter, JupyterLab, VS Code, Google Colab.

A .tex file is a LaTeX source document. A TeX engine (pdfLaTeX, XeLaTeX, LuaLaTeX, or Overleaf online) turns it into a typeset PDF; mathematics is written natively. It opens in Overleaf, TeX Live, MiKTeX, TeXstudio.

Good to know

  • Outputs are only as fresh as the last run. Run all cells and save the notebook in Jupyter before converting if you need current results.
  • Overleaf is the quickest way to compile the result without installing anything.

Privacy and limits

The file is read and converted by this page in your browser; there is no upload and no account. Notebook code is never executed — only the saved cells and outputs are converted. Files up to 25 MB are accepted; a file of the wrong type or a damaged file is rejected with the reason.

Frequently asked questions

Can I compile it on Overleaf?

Yes. Upload the .tex file — or the whole ZIP when the notebook had charts — and compile. Choose XeLaTeX in the Overleaf menu if the notebook contains Cyrillic, Greek or Asian text.

Why is there a ZIP instead of a .tex file?

LaTeX keeps images in separate files. When the notebook has saved charts, they are packed next to the .tex file in a figures folder.

Is my file uploaded to a server?

No. The conversion runs in your browser on your own device, and this page has no upload endpoint.

Is there a size limit?

One file of up to 25 MB at a time. Larger files can exhaust a browser tab’s memory, so the tool refuses them with a message instead of failing halfway.

More in Document Tools All tools