npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@unwarkz/n8n-nodes-gotenberg-pdf

v1.1.8

Published

N8N community node for Gotenberg - Docker-based PDF conversion API (Chromium, LibreOffice, PDF Engines)

Readme

n8n-nodes-gotenberg-pdf

An n8n community node package for Gotenberg — a Docker-based stateless API for PDF file management.

Features

Regular Node (Gotenberg)

Convert and manipulate PDFs from n8n workflows:

Chromium Engine

  • 🌐 URL to PDF — Render any public URL as a PDF using headless Chromium
  • 📄 HTML to PDF — Convert binary HTML documents to PDF
  • 📸 URL to Screenshot — Take PNG/JPEG/WebP screenshots of any URL
  • 🖼 HTML to Screenshot — Take screenshots of HTML binary files

LibreOffice Engine

  • 📝 Convert to PDF — Convert Word, Excel, PowerPoint, ODT, ODS, ODP, CSV and more to PDF

PDF Engines

  • 🔀 Merge PDFs — Combine multiple PDFs into a single file (ordered by filename)
  • ✂️ Split PDF — Split a PDF by equal intervals or custom page ranges
  • 🔄 Convert PDF — Convert to PDF/A formats (PDF/A-1a, PDF/A-2b, PDF/A-3b)
  • 📐 Flatten PDF — Flatten annotations and interactive form fields
  • 🔍 Read Metadata — Read PDF metadata properties (Author, Title, etc.) as JSON
  • ✏️ Write Metadata — Write custom metadata properties into a PDF

AI Tools Node (Gotenberg AI Tools)

Connect to an n8n AI Agent node to give it PDF capabilities:

| Tool | Description | |------|-------------| | gotenberg_url_to_pdf | Convert a public URL to a PDF (stores in binary property) | | gotenberg_html_to_pdf | Convert an HTML string to PDF (stores in binary property) | | gotenberg_url_screenshot | Take a screenshot of a URL (stores in binary property) | | gotenberg_libreoffice_convert | Convert an office document to PDF (accepts binary property reference) | | gotenberg_merge_pdfs | Merge multiple PDFs into one (accepts binary property references) | | gotenberg_split_pdf | Split a PDF into parts (accepts binary property reference) | | gotenberg_flatten_pdf | Flatten a PDF (accepts binary property reference) | | gotenberg_read_pdf_metadata | Read metadata from a PDF (accepts binary property reference) |

All tools use n8n native binary references instead of base64. Tools that produce files store them in n8n's binary data system and return a binaryPropertyName. Tools that consume files accept a binary_property_name parameter. Compatible with N8N_DEFAULT_BINARY_DATA_MODE=filesystem and database.

Prerequisites

  1. A running Gotenberg instance:

    docker run --rm -p 3000:3000 gotenberg/gotenberg:8
  2. n8n version ≥ 1.0.0

Installation

npm install n8n-nodes-gotenberg-pdf

Or install via the n8n UI: Settings → Community Nodes → Install → enter n8n-nodes-gotenberg-pdf.

Configuration

Create a Gotenberg API credential with:

  • Base URL: URL of your Gotenberg instance (default: http://localhost:3000)
  • Username / Password: Optional HTTP Basic Auth credentials (if Gotenberg is configured with --api-basic-auth-username / --api-basic-auth-password)

Usage Examples

Convert a URL to PDF

  1. Add a Gotenberg node
  2. Set Resource: Chromium, Operation: URL to PDF
  3. Enter the URL
  4. Optionally configure paper size, margins, landscape, etc.
  5. The output binary property (data) will contain the PDF

Convert a Word document to PDF

  1. Read the .docx file (e.g., using a Read Binary File node)
  2. Add a Gotenberg node
  3. Set Resource: LibreOffice, Operation: Convert to PDF
  4. Set Binary Property to match the property name from the previous node
  5. The output will be the converted PDF

Use with AI Agent

  1. Add a Gotenberg AI Tools node
  2. Select which tools to enable
  3. Connect the Tool output to an AI Agent node's Tools input
  4. The AI can now generate PDFs, take screenshots, and process documents

Part of the Assistant Set

This package is also included in the full @unwarkz/n8n-nodes-assistant-set package

License

MIT © unwarkz