Jupyter β†’ SageMath HTML Converter

Convert .ipynb notebooks into self-contained SageMath HTML notebooks, in-browser.

1Upload the SageMath HTML template

A blank notebook exported from your usual workflow. The template defines the nbrunner version that will perform the conversion.

πŸ“„
Drop your template .html here
or click to browse

2Add Jupyter notebooks

One or many .ipynb files. They're processed sequentially.

πŸ““
Drop .ipynb files here
or click to browse (multiple allowed)

3Convert & download

How it works

The converter uses your template β€” a blank SageMath HTML notebook β€” as the host environment. The template is loaded into a hidden iframe, which means the all the custom settings are applied in exported HTML notebooks.

A single notebook is downloaded directly as .html. Multiple notebooks are bundled into one .zip file.

Timing settings

Two timers control how long the converter waits between operations inside the iframe. They exist because rendering happens asynchronously since the page (as of now) can't know in advance when it's truly done. Defaults work for typical notebooks β€” increase them if you see incomplete output, decrease them to speed up batches of small files.

SettingWhat it controlsWhen to change it
Settle time How long to wait after .ipynb import before calling triggering Save sequence (as if one would do it in the Sage notebook). Increase (e.g. 4000–6000 ms) for long notebooks with lots of LaTeX or large outputs.
Decrease (e.g. 1500 ms) for short notebooks if you want batches to finish faster.
Per-file delay Pause between consecutive conversions, after one is finished and before the next iframe is created. Usually fine at the default. Increase if your browser seems sluggish during big batches; set to 0 for maximum speed.