Cells in your order
The notebooks merge in the order you list them — reorder the queue with the arrows and the merged file updates instantly.
MERGE IPYNB
Drop in two or more .ipynb files, put them in order, and download a single merged notebook: every cell keeps its source, outputs and images, and nothing is uploaded anywhere.
Merged in your browser — the notebooks are never uploaded. You can also drop them anywhere on this page, and add more at any time.
Those files could not be read
merged.ipynb
Merge order
Merged notebook preview (first 200 lines)
The merged notebook is assembled in this tab from the files you chose. Nothing is uploaded, and the download is yours alone — the same file every time for the same notebooks in the same order.
0 bytes uploaded
Parsing and merging happen on your device.
100% of the outputs kept
Tables, plots, text and tracebacks travel with their cells.
nbformat 3 + 4 read
Modern notebooks and the legacy worksheet format.
1 file out
A single .ipynb that opens anywhere Jupyter does.
What the merge keeps
A merge is a concatenation, not a rewrite: the cells keep what they arrived with, and only the bookkeeping is redone.
The notebooks merge in the order you list them — reorder the queue with the arrows and the merged file updates instantly.
Plots, tables, stream text and tracebacks stay under their cells, with their execution counts, so the merged notebook reads like the originals.
Images attached to markdown cells survive the merge, so prose that carries its own figures still renders.
Cell ids are re-derived from cell text and position, because ids from different notebooks can collide and Jupyter requires them unique.
The merged notebook adopts the first notebook’s kernel, so merging Python notebooks stays Python instead of being relabelled.
The same files in the same order produce the same merged notebook, byte for byte — diff-friendly, with no timestamps and no random ids.
Compatibility
Notebooks from Jupyter, JupyterLab, Colab, Kaggle, Deepnote and VS Code merge together, including the older nbformat 3 files.
Accepted input
Kept per cell
Recomputed
Known limits
How it works
Drop in two or more .ipynb files, put them in order, and download a single merged notebook: every cell keeps its source, outputs and images, and nothing is uploaded anywhere.
Add the notebooks
Choose two or more .ipynb files or drag them onto the page; each is parsed on your device as it arrives.
Set the order
Move files up and down in the queue, remove anything you change your mind about, and watch the merged preview update.
Download merged.ipynb
One file with every cell in order. Open it in Jupyter, JupyterLab, Colab or VS Code and run it as usual.
Four ways to combine notebooks, from the browser queue above to the command-line tools built for the job — pick the one that fits where you already are.
The classic concatenator: nbmerge a.ipynb b.ipynb > merged.ipynb writes the cells of both into one file. It is the closest equivalent to this page — same job, in a terminal, with an install.
nbdime merges competing versions of the same notebook — base, local, remote — with conflict resolution, which is what you want when a git merge hits an .ipynb. Concatenating separate notebooks is the job above, not this one.
The reverse trip. When a merged notebook grows past the point where anyone reviews it end to end, the splitter cuts it at its headings — or every N cells — and writes each part as its own .ipynb with its outputs intact. Merge the parts back in the same order and the cells return unchanged, which is what makes the pair usable for chapter-by-chapter review. There is no nbconvert --split flag: conversion names a target format, and a split has none. Split a notebook
JupyterLab and Notebook 7 copy cells between notebooks: select the cells, copy, open the target notebook and paste. It works for a handful of cells; it does not scale to whole chapters, which is why the queue above exists.
In a hurry? The queue at the top is the whole workflow.
Choose the notebooks, order them, download — the same concatenation nbmerge performs, without the install or the terminal.
FAQ
Short answers about combining notebooks — what happens to outputs, how the order works, and whether the merged file opens like any other .ipynb.
Use the merger at the top of this page: choose two or more .ipynb files, put them in the order you want, and the browser concatenates their cells into one notebook. Download merged.ipynb and open it in Jupyter, JupyterLab, Colab or VS Code. No upload, no install and no terminal involved.
Install nbmerge with pip install nbmerge, then run nbmerge chapter-1.ipynb chapter-2.ipynb > merged.ipynb. It is the classic Python route and the right one inside a build step — this page does the same concatenation in the browser, with nothing to install.
Yes. Stream text, tables, images, JSON and error tracebacks stay under their cells with their execution counts, because the merger concatenates the cells rather than re-writing them. The only thing that changes per cell is the id.
Yes — files merge in the order they appear in the queue, and the arrows next to each name move it up or down. The merged file and its preview update as soon as the order changes.
The merged notebook adopts the first file’s kernel. Merging Python notebooks is the common case and stays Python; if you merge an R notebook into a Python one, the R cells keep their code but will not run until the kernel is switched.
Yes: nbformat 4.5, unique cell ids, one kernelspec — the same shape Jupyter itself writes. Notebooks saved in the legacy nbformat 3 are read and re-emitted as nbformat 4 cells.
They do, by design: cell ids are derived from each cell’s text and position in the merged file, because the originals can collide across notebooks. Merging the same files in the same order always produces the same ids.
Yes. Any .ipynb download — Colab’s File → Download → .ipynb, Kaggle’s Download notebook, an export from VS Code or Deepnote — merges exactly like a notebook saved by Jupyter itself.
No server-side limit: everything happens in your browser, so the practical ceiling is your machine’s memory. Merging dozens of notebooks is routine; the only thing that gets heavy is a notebook with very large embedded outputs.
No. Files are read with the browser File API and merged inside the tab. You can disconnect from the network after the page loads and the merge still works — which is also the practical proof that nothing is uploaded.
Different job: this page concatenates notebooks end to end. nbdime merges competing edits to the same notebook — a three-way merge with conflict resolution — which is what you want when a git merge conflict hits a notebook, not when you want chapters in one file.
Drop the notebooks in, set the order, and download one file that reads like the project it belongs to.
Merge notebooks