Creating PDFs
Creating PDFs is a feature in Claude.ai and the Claude desktop app that lets Claude generate, edit, and deliver PDF files directly within a conversation. Instead of producing only text responses, Claude uses a sandboxed code-execution environment to programmatically construct PDF documents from your instructions or uploaded data — then offers them as downloadable file artifacts. You describe what you want (a formatted report, a converted document, a filled form), optionally upload source files such as CSVs or existing PDFs, and Claude produces a ready-to-use file you can save to your device.
The feature works through Claude's 'Code execution and file creation' capability, which must be toggled on in Settings for Free and Pro users but is enabled by default for Team and Enterprise organizations. Under the hood Claude writes Python (using libraries such as pypdf, pdfplumber, and pdfkit) inside an isolated sandbox, generates the file, and surfaces it as a downloadable artifact. The sandbox is isolated from the internet unless an administrator has specifically enabled network egress.
PDF creation is one output format among several (Excel, PowerPoint, Word documents are also supported). The hard limit for any single file — both uploads and downloads — is 30 MB. PDFs larger than 30 MB can still be processed for reading and extraction by routing them directly through the sandbox rather than loading them into the context window, but generated output files must remain under 30 MB.
When you’d use it
- ◆Professional Report Generation — A marketing manager needs a formatted quarterly performance report to share with executives. They paste KPI data into the chat and ask Claude to produce a branded PDF with a title page, summary tables, and section headings — without opening a separate design tool.
- ◆Data-to-Document Conversion — A financial analyst has a CSV of expense records. They upload the file and ask Claude to create a PDF expense report complete with a summary table, category breakdown, and highlighted anomalies, saving the time of manually building the document in Word or Excel.
- ◆PDF Form Filling — An HR coordinator needs to complete a standardized PDF intake form for each new hire. They upload the blank form and provide the employee data, and Claude programmatically fills in each field and returns a completed, ready-to-sign PDF.
- ◆Document Merging and Collation — A paralegal has five separate legal brief PDFs and needs only the executive summary page from each merged into one reference document. They upload all five files and ask Claude to extract and concatenate just those pages into a single PDF.
- ◆Survey or Research Report with Visualizations — A UX researcher uploads raw survey response data and asks Claude to produce a multi-page PDF report including demographic breakdowns, satisfaction bar charts, statistical summaries, written insights, and actionable recommendations — suitable for executive distribution.
What changed recently
- ◆2025-11-19 — PDF creation (and file creation broadly — Excel, Word, PowerPoint) launched as a preview feature for Max, Team, and Enterprise plan users on Claude.ai and the desktop app.
- ◆2025-10-21 — File creation and code execution reached general availability for paid plans. Organization admins gained granular network egress controls: disabled (sandbox only), package managers only (default for new Enterprise orgs), or broader access options.
- ◆2025-09 — File creation and PDF generation rolled out to Pro plan users. Mobile support (iOS and Android) expanded to all paid plans.
- ◆2025-12-18 — Agent Skills framework introduced, including a dedicated PDF skill that extends Claude's ability to manipulate PDFs programmatically (e.g., form filling) beyond its baseline capabilities.
This is the short version
The full chapter has three worked examples, the common pitfalls, and the workflow that makes it pay — plus the other 84 features, kept current.
Get Claude Master — $97 →