DeveloperFree to use

Runs in your browser. No file uploads for processing. Privacy details

Jupyter Notebook Output Scrubber

Clear stored Jupyter notebook outputs and execution counts from an .ipynb copy without running or uploading it. Keep the code, Markdown and notebook metadata.

Loading tool...

How to clear output from a Jupyter notebook

  1. Choose a notebook

    Open one version 4 .ipynb from your device. The tool reads it in the browser and never runs a cell.

  2. Review the changes

    The sample has one saved stdout result and one execution count. The preview shows the counts and cleaned file size, not the output or code itself.

  3. Download a cleaned copy

    The tool empties code-cell outputs and resets execution counts. Source, IDs, attachments and other fields stay unchanged.

Use cases

  • Keep large saved plots and repeated outputs out of a Git diff.
  • Prepare a notebook copy without saved execution results before sharing.
  • Reset execution counts on a machine that does not have Jupyter installed.

Limits and privacy

  • Supports version 4 UTF-8 notebooks up to 8 MiB and 2,000 cells. It checks the relevant notebook structure but does not fully validate the Jupyter schema.
  • Clears only code-cell outputs and execution counts. Code, Markdown, attachments, notebook metadata and embedded widget state remain. Do not use this as a secret scan.
  • Does not overwrite the input, execute cells, render stored content, trust a notebook, or remove data from notebook checkpoints or Git history.

The tool processes inputs in your browser. File processing and site analytics are separate.

Frequently asked questions

Can I inspect other notebook metadata?

An .ipynb is JSON. You can inspect a separate copy as JSON text, but formatting it is not the same as clearing output. This scrubber only changes the saved output and execution count values.

Can I strip .ipynb output without running a kernel?

Yes. The scrubber replaces saved code-cell output arrays and resets execution count values in a new .ipynb. It never launches a kernel.

Will it change my notebook code or text?

No. It edits only the selected JSON value spans. Code, Markdown, raw text, metadata, attachments and identifiers outside those spans stay as supplied.

Is a cleared notebook safe to share?

Not necessarily. Code, Markdown, attachments or widget metadata can still hold confidential material. Review them separately.

Related tools