🧹
Jupyter Cleaner
Developer
Remove notebook outputs and execution state while preserving source and other metadata.
0
0
Input
Notebook limit: 10 MiB, 64 nesting levels and 100,000 JSON values.
Removes outputs, execution counts and execution UI metadata. Removes custom notebook metadata and widget state; retains kernel and language information, source, cell IDs, attachments and other cell metadata.
Output
Clean a v4 notebook by emptying code-cell outputs, resetting execution counts to null and removing execution, collapsed and scrolled metadata from code cells. Source, cell IDs, attachments, notebook metadata and other cell metadata are preserved.
See moreSee less about the Jupyter Cleaner
Paste JSON or upload an .ipynb file up to 100 KB, then download the cleaned notebook.
Key features
- Clean interface
- Fast processing
- No signup required
- Works offline
Related Blog Posts
Quick answers for Jupyter Cleaner
What gets removed?
Code-cell outputs are emptied, execution_count becomes null, and execution, collapsed and scrolled metadata is removed from code cells. Source content is preserved.
Which metadata is preserved?
Notebook-level metadata, cell IDs, attachments and all other cell metadata are preserved. Markdown and raw cells are retained.
Can I upload a file instead of pasting JSON?
Yes, an upload field accepts a .ipynb file directly and loads its contents into the editor, or you can paste the notebook JSON by hand.