App Logo
app.notion.com

Export a Notion page to PDF, HTML or Markdown

Export a Notion page from its URL and save the file to the browser machine's downloads folder. Choose PDF, HTML or Markdown, and optionally include the page's subpages. Returns the saved file's name and path plus the page title, so the caller knows exactly what landed on disk. Markdown and HTML exports arrive as a zip archive; a PDF export of a single page arrives as a PDF named after the page.

Input

url required

The Notion page URL, as copied from the browser or from Copy link (for example https://www.notion.so/My-Page-2b6da534361881e580d5f4cf4a8c36bd).

format optional

Export format. markdown and html produce a zip archive; pdf produces a PDF file. Including subpages in a PDF requires a Business plan; on other plans that toggle is locked and a pdf export covers the page alone.

Default: "markdown"
include_subpages optional

Include the page's subpages in the export. When false only the page itself is exported. Requesting true for a pdf export on a plan that locks the setting fails with a clear error rather than silently exporting one page.

Default: false

Output

path required

Absolute path of the saved file on the machine running the browser. The downloads folder prefixes the name with an identifier, so this path, not filename, is where the file actually is.

format required

The format the export was requested in.

filename required

The downloaded file's name. A zip for markdown and html exports; a PDF named after the page for pdf exports.

page_url required

The page URL the export ran against, after any redirect.

page_title required

Title of the exported page.

include_subpages required

Whether subpages were actually included, read back from the dialog rather than assumed from the argument. False when the workspace's plan locks the setting.

subpages_control required

set when the script chose the subpage setting; locked_by_plan when Notion disabled the toggle for this format on this workspace's plan, in which case subpages are not included.

FAQ

Export a Notion page from its URL and save the file to the browser machine's downloads folder. Choose PDF, HTML or Markdown, and optionally include the page's subpages. Returns the saved file's name and path plus the page title, so the caller knows exactly what landed on disk. Markdown and HTML exports arrive as a zip archive; a PDF export of a single page arrives as a PDF named after the page.
Required: url. Optional: format, include_subpages.
It returns path, format, filename, page_url, page_title, include_subpages, subpages_control.
Yes. It acts as you on app.notion.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the app.notion.com cookies saved by the Reduck extension.
It only reads. It looks things up on app.notion.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/app.notion.com/export_page, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/app.notion.com/export_page
It is part of Reduck's official curated catalogue.

Start building not clicking