How to convert IPYNB to JSON
- Drop your IPYNB file on the box above, or paste its content into the text box.
- Check the settings below the box; the defaults suit most files.
- Press Convert. You see a preview or a summary of the result.
- Download the .json file, or copy the text.
What is kept when you convert IPYNB to JSON
- The notebook is parsed and validated as JSON first; a damaged file is reported with the parser’s reason instead of being passed through.
- Every cell, metadata field and output is kept unless you choose to strip outputs or clear execution counts — the usual clean-up before committing to Git.
- The result is still a valid notebook: rename it back to .ipynb and Jupyter opens it.
Example
The same two-cell notebook with “Remove all outputs” and “Clear execution counts” ticked:
Output
{
"nbformat": 4,
"nbformat_minor": 5,
"metadata": {
"kernelspec": {
"language": "python"
}
},
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": "# Growth\nRate $g = b/a - 1$."
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"source": "%matplotlib inline\nprint(150 / 120 - 1)",
"outputs": []
}
]
…
About IPYNB and JSON 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.
The notebook is written back as formatted, validated JSON — the same structure Jupyter uses, easier to read, diff or process. It opens in any code editor or JSON tool.
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.
- Commit notebooks without outputs to keep Git diffs small and avoid leaking data that appeared in outputs.
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.