Save any web page as PDF or text.
Paste a ChatGPT or Claude share link, choose your settings, and download in seconds.
Works with any JavaScript-rendered page.
Format
Also available as a CLI
Install
npm install -g snapdf
Usage
snapdf <url> [options]
--format pdf|txt Output format (default: pdf)
--page-size letter|a4 Paper size (default: letter)
--landscape Landscape orientation
--selector css CSS selector for content nodes
--hide-user-input Omit user messages from output
--hide-assistant-output Omit assistant messages from output
--timeout ms Navigation timeout (default: 60000)
Virtual scroll support
Handles lazy-loading and infinite scroll pages like ChatGPT and Claude.ai — every message captured.
PDF or plain text
Export full conversations as a formatted, printable PDF or searchable plain text file.
CLI + library
Use from the terminal or import fetchPdf / fetchTxt directly in your Node.js project.