For docs, courses and developer sites
Embed a Jupyter notebook to PDF converter
Give readers a way to turn an .ipynb file into a PDF without leaving your page. The notebook is read in their browser and is never uploaded anywhere.
1. Copy the iframe
Paste this HTML into the page where you want the converter. The frame fills its container and starts at 640 pixels tall; visitors can scroll inside it while previewing a long notebook.
<iframe
src="https://ipynbtopdf.xyz/embed/widget"
title="Jupyter notebook to PDF converter"
width="100%"
height="640"
style="border: 0; border-radius: 16px"
loading="lazy"
referrerpolicy="strict-origin-when-cross-origin"
></iframe>Paste this where the converter should appear.
Preview
What visitors can do
They can choose a notebook from their device, preview saved text, code, equations and plots, then use the browser print dialog to save a PDF. No Python, TeX installation or account is needed. Interactive widgets still need a saved static image because a PDF cannot preserve their interaction.
The widget includes a visible “Powered by ipynbtopdf” attribution. Its link is marked nofollow: readers can still visit the converter, but the embed is not intended to pass search ranking credit. For a standalone converter or more information about local processing, visit ipynbtopdf.xyz.