Export to other formats¶
Export marimo notebooks to other file formats from the browser editor. Notebooks can also be exported to other formats at the command-line with:
Looking to share notebooks online?
For sharing interactive notebooks on the public web, consider using molab, our free cloud-hosted notebook platform.
Available formats¶
| Format | Command | Description |
|---|---|---|
| Static HTML | marimo export html |
Non-interactive HTML snapshot |
marimo export pdf |
PDF document or slide deck | |
| Jupyter notebook | marimo export ipynb |
Jupyter .ipynb file |
| Python script | marimo export script |
Flat .py script in topological order |
| Markdown | marimo export md |
Markdown with code blocks |
| WebAssembly HTML | marimo export html-wasm |
Self-contained, interactive HTML powered by WebAssembly |
| Session snapshot | marimo export session |
Serialized session snapshot (JSON) |