# IronPDF for Node.js > IronPDF is the Node.js PDF Library to generate PDFs from HTML in Node.js 12+. Create, Edit & Read PDFs. ## Documentation ### Overview - [Generate PDFs in Node.js [Without Losing Formatting] | IronPDF](https://ironpdf.com/nodejs/docs/): IronPDF is the Node.js PDF Library to generate PDFs from HTML in Node.js 8+, Kotlin, and Scala. Create, Edit & Read PDFs ### Getting Started - [Apply an IronPDF License Key in Node.js](https://ironpdf.com/nodejs/get-started/license-keys/): Learn how to apply, configure, and verify an IronPDF license key in Node.js. Remove watermarks and enable production PDF generation in three steps. - [How to Set Up IronPdfEngine for Node.js | IronPDF](https://ironpdf.com/nodejs/get-started/use-ironpdfengine/): Learn how to configure IronPdfEngine for Node.js — local runtime download, bundled dependency install, or remote gRPC connection for containerized deployments. ### How-To Guides - [How to Compress PDF Files in Node.js | IronPDF](https://ironpdf.com/nodejs/how-to/nodejs-compress-pdf/): Compress PDF files in Node.js with IronPDF's compressSize method. Reduce file size by 50%+ with one API call. Code examples for batch and pipeline workflows. - [How to Create PDF Files in Node.js with IronPDF](https://ironpdf.com/nodejs/how-to/nodejs-create-pdf/): Create PDFs in Node.js with IronPDF. Convert HTML strings, files, and URLs to PDF using Chromium rendering. Includes headers, encryption, and merge examples. - [Fill PDF Form Fields in Node.js with IronPDF](https://ironpdf.com/nodejs/how-to/nodejs-fill-pdf-form/): Fill PDF form fields in Node.js with IronPDF. Load any PDF, populate text, checkboxes, dropdowns, and radio buttons programmatically, then save or flatten. - [Merge PDFs in Node.js with IronPDF | Code Examples](https://ironpdf.com/nodejs/how-to/nodejs-merge-pdf/): Merge multiple PDF files into one document in Node.js using IronPDF. Covers basic merge, page ranges, headers, password protection, and digital signatures. - [Convert PDF to Image in Node.js | IronPDF](https://ironpdf.com/nodejs/how-to/nodejs-pdf-to-image/): Convert PDF pages to PNG, JPG, GIF, or BMP in Node.js using IronPDF's rasterizeToImageFiles method. Control DPI, page selection, and output format in one API call. - [How to Print PDF Files in Node.js | IronPDF](https://ironpdf.com/nodejs/how-to/nodejs-print-pdf/): Print PDF files in Node.js using pdf-to-printer. Code examples for basic printing, custom printer options, batch queues, and audit logging across Windows, macOS, and Linux. ### Product Updates - [Changelog: Updates & Version History | IronPDF for Node.js](https://ironpdf.com/nodejs/product-updates/changelog/): Stay updated with the latest product changes and improvements in IronPDF for Node.js. Check out the changelog for new features, bug fixes, and enhancements. ### Troubleshooting Guides - [Node.js PDF Engineering Request Form | IronPDF for Node.js](https://ironpdf.com/nodejs/troubleshooting/engineering-request-pdf/): Submit an engineering request for IronPDF for Node.js. Get support from the Iron Software team to address specific technical challenges in your Node.js PDF projects. - [IronPDF NestJS TypeScript Build Errors](https://ironpdf.com/nodejs/troubleshooting/ironpdf-nestjs-compatibility/): IronPDF Zod schemas conflict with NestJS TypeScript builds. Run IronPdfEngine in Docker and connect remotely to bypass the type errors. - [Understanding IronPdfEngine in IronPDF for Node.js](https://ironpdf.com/nodejs/troubleshooting/ironpdfengine-nodejs/): IronPDF for Node.js renders through a local IronPdfEngine subprocess over gRPC on port 33350; learn the default behavior, the single-port limitation, and how to scale with a shared Docker engine. - [PDF to PNG Red-Tint on macOS in IronPDF for Node.js](https://ironpdf.com/nodejs/troubleshooting/macos-nodejs-pdf-to-png-red-tint/): IronPDF produces a red-tinted PNG when rasterizing PDFs on macOS. Rasterize to JPG first, then convert to PNG with sharp to get correct colors. - [verbatimModuleSyntax Errors in IronPDF for Node.js](https://ironpdf.com/nodejs/troubleshooting/verbatimmodulesyntax/): TypeScript's verbatimModuleSyntax: true preserves import/export syntax and breaks CommonJS builds that use IronPDF for Node.js; set it to false to let TypeScript emit the correct module syntax. ### Tutorials - [Convert HTML to PDF in Node.js — IronPDF Tutorial](https://ironpdf.com/nodejs/tutorials/html-to-pdf/): Convert HTML strings, local files, URLs, and ZIP archives to PDF in Node.js using IronPDF. Step-by-step tutorial with working code examples. ### API Reference - [IronPDF for Node.js API Reference](https://ironpdf.com/nodejs/object-reference/api/): Complete API documentation. ## Code Examples - [Code Example: Header & Footer Settings | IronPDF for Node.js .NET 10](https://ironpdf.com/nodejs/examples/adding-headers-and-footers-advanced/): Learn how to easily add headers & footers to PDFs with IronPDF's `addHtmlHeader` & `addHtmlFooter` methods. Try it now! - [Code Example: Angular Pages to PDFs | IronPDF .NET 10 for Node.js](https://ironpdf.com/nodejs/examples/angular-to-pdf/): Convert Angular.js pages to PDFs. Learn how to use `fromUrl` method and `waitFor` class to ensure proper rendering. Avoid issues now! - [Code Example: Add Backgrounds & Foregrounds in IronPDF .NET 10](https://ironpdf.com/nodejs/examples/backgrounds-and-foregrounds/): Easily enhance PDFs with background & foreground overlays. Add backgrounds & foregrounds to PDFs. - [Code Example: Add Barcodes & QR Codes with .NET 10 | IronPDF for Node.js](https://ironpdf.com/nodejs/examples/barcode-htmltopdf/): Add Barcodes to PDFs with ease using the `stampBarcode` method. Customize barcode settings and enhance your PDFs. Try it now! - [Code Example: Set PDF to Grayscale | IronPDF for Node.js](https://ironpdf.com/nodejs/examples/convert-pdf-to-grayscale/): Set PDF to Grayscale easily. Remove color distractions and enhance focus. Try IronPDF's HTML to PDF conversion with `grayScale` property. - [Code Example: Convert a URL to PDF with .NET 10 | IronPDF for Node.js](https://ironpdf.com/nodejs/examples/converting-a-url-to-a-pdf/): Easily convert web page to PDF with PdfDocument.fromUrl method. Try it now! - [Code Example: Custom PDF Page Size in .NET 10 | IronPDF for Node.js](https://ironpdf.com/nodejs/examples/custom-pdf-paper-size/): Learn how to set custom page sizes when rendering HTML content into a PDF document. Try it now! #SetCustomPageSizes - [Code Example: Sign a PDF Digitally | IronPDF for Node.js & .NET 10](https://ironpdf.com/nodejs/examples/digitally-sign-a-pdf/): Use IronPDF to add a digital signature to a PDF document in just a few steps. Sign securely with ease. Add a Digital Signature using JavaScript! - [Code Example: Embed Bitmaps and Images | IronPDF Node.js .NET 10](https://ironpdf.com/nodejs/examples/embed-image-base64/): Learn how to embed images in HTML using base64 encoding. Use IronPDF to generate PDF documents with embedded images. - [Code Example: Encrypt & Decrypt a PDF | IronPDF for Node.js .NET 10](https://ironpdf.com/nodejs/examples/encryption-and-decryption/): Apply password encryption and set permissions for a PDF document. Secure your files with IronPDF. - [Code Example: Execute Custom JavaScript | IronPDF for Node.js & .NET 10](https://ironpdf.com/nodejs/examples/execute-custom-javascript/): Effortlessly modify HTML appearance with custom JavaScript code. Execute custom JavaScript. Try now! - [Code Example: Convert HTML File to PDF in .NET 10 | IronPDF for Node.js](https://ironpdf.com/nodejs/examples/file-to-pdf/): Convert HTML file to PDF with the `fromHtml` method from the IronPDF Node.js library. Get started now. - [Code Example: Create PDF Forms with HTML in .NET 10 | IronPDF for Node.js](https://ironpdf.com/nodejs/examples/form-data/): IronPDF for Node.js enables rendering HTML with form fields into PDF forms. Create, edit, and save PDF forms easily. Try it now. - [Code Example: Use Custom Fonts w/ PDFs in .NET 10 & Node.js | IronPDF](https://ironpdf.com/nodejs/examples/google-fonts-htmltopdf/): Render HTML content with Google Fonts into PDF documents using IronPDF for Node.js. Improve load times and achieve perfect font rendering. - [Code Example: Add Headers & Footers in .NET 10 & Node.js | IronPDF](https://ironpdf.com/nodejs/examples/headers-and-footers/): Learn how to add text headers & footers to PDFs with IronPDF for Node.js. Customize your content easily. Get started now! - [Code Example: Add HTML Headers & Footers in .NET 10 | IronPDF for Node.js](https://ironpdf.com/nodejs/examples/html-headers-and-footers/): Include headers & footers in PDFs using HTML with IronPDF for Node.js. Customize and position headers and footers. - [Code Example: Convert Image to PDF | IronPDF for Node.js & .NET 10](https://ironpdf.com/nodejs/examples/image-to-pdf/): Convert image files to PDF quickly and easily with PdfGenerator.imageToPdf. Try it now! #ImageToPDF - [Code Example: HTML to PDF w/ JavaScript | IronPDF for Node.js](https://ironpdf.com/nodejs/examples/javascript-html-to-pdf/): HTML to PDF conversion with JavaScript execution using IronPDF for Node.js. Set custom options for accurate rendering. Try it now! - [Code Example: Add Charts & Graphs (.NET 10) | IronPDF for Node.js](https://ironpdf.com/nodejs/examples/js-charts-to-pdf/): Learn how to load JavaScript charts & graphs using IronPDF for Node.js. Enable JavaScript execution and delay rendering with the `waitFor` property. - [.NET 10 – Code Example: Merge PDF | IronPDF for Node.js](https://ironpdf.com/nodejs/examples/merge-pdfs/): Merge PDFs of any size and complexity effortlessly with IronPDF's `mergePdf` method. Combine multiple PDFs into one easily without losing formatting. Take action now! - [Code Example: Convert TIFF to PDF in .NET 10 & Node.js | IronPDF](https://ironpdf.com/nodejs/examples/multi-frame-tiff-to-pdf/): Convert single and multi-page TIFF to PDF in Node.js. Install the IronPDF library for free! - [Code Example: Page Numbers & Page Breaks | IronPDF for Node.js & .NET 10](https://ironpdf.com/nodejs/examples/page-numbers-and-page-breaks/): Generate PDFs with page breaks and page numbers using IronPDF for Node.js. Take control of your document layout now! - [Code Example: PDF Compression | IronPDF for Node.js .NET 10](https://ironpdf.com/nodejs/examples/pdf-compression/): Compress PDFs without losing quality using IronPDF for Node.js. Optimize image size and reduce file size efficiently. Try it now! - [Code Example: Add a Cover Page | IronPDF for Node.js (.NET 10)](https://ironpdf.com/nodejs/examples/pdf-cover-page/): Enhance your PDF document's presentation with a cover page. Add cover pages easily using IronPDF for Node.js. - [Code Example: PDF Rendering Settings | IronPDF for Node.js – .NET 10](https://ironpdf.com/nodejs/examples/pdf-generation-settings/): Improve HTML-to-PDF generation with IronPDF for Node.js. Customize paper size, add form fields, and more. Optimize your PDFs now! - [Code Example: Change Page Orientation | IronPDF for Node.js & .NET 10](https://ironpdf.com/nodejs/examples/pdf-page-orientation/): Control page orientation and rotation with IronPDF for Node.js. Set PDFs to portrait or landscape. Fix alignment issues with ease. - [Export as PDF/A in .NET 10 | IronPDF Node.js Example](https://ironpdf.com/nodejs/examples/pdfa/): Convert and export PDFs to PDF/A-3b standard with IronPDF for Node.js. Ensure archival accuracy and accessibility. Try it now! - [Code Example: Export as PDF/UA in .NET 10 for IronPDF (Node.js)](https://ironpdf.com/nodejs/examples/pdfua/): Convert normal PDFs into PDFs compliant with the PDF/UA standard using IronPDF for Node.js. - [Code Example: Convert PDF to Images | IronPDF for Node.js (.NET 10)](https://ironpdf.com/nodejs/examples/rasterize-a-pdf-to-images/): Convert PDF to Images: Rasterize a PDF to multiple images easily with IronPDF for Node.js! - [Code Example: Read PDF Text in .NET 10 with IronPDF for Node.js](https://ironpdf.com/nodejs/examples/reading-pdf-text/): Read PDF text: Extract text from PDF using IronPDF for Node.js. Preserve and export content easily. Try it now! - [Code Examples: Remove Pages from PDF | IronPDF for Node.js](https://ironpdf.com/nodejs/examples/remove-page-from-pdf/): Remove pages from PDFs with ease using IronPDF's removePage method. Try it now! - [Code Example: Replace Text in PDF | IronPDF for Node.js](https://ironpdf.com/nodejs/examples/replace-text-in-pdf/): Replace text in PDFs easily with the replaceText method from the IronPDF Node.js package. Try it now! - [Code Example: Set Passwords & Metadata | IronPDF .NET 10 Node.js](https://ironpdf.com/nodejs/examples/security-and-metadata/): Unlock PDFs, secure passwords, modify metadata, and enhance security. Try IronPDF for Node.js now! - [Code Example: Set Custom Margins | IronPDF for Node.js](https://ironpdf.com/nodejs/examples/set-custom-margins/): Set custom margins with IronPDF for Node.js. Convert HTML to PDF with customized options. Try it! - [Code Example: Add HTML Content with .NET 10 | IronPDF for Node.js](https://ironpdf.com/nodejs/examples/stamping-html-pdf-multiple/): Add HTML content, text, images, and barcodes to PDFs with IronPDF for Node.js. Achieve pixel-perfect placement and design control. Try it now. - [Code Example: Add New Content | IronPDF for Node.js (.NET 10)](https://ironpdf.com/nodejs/examples/stamping-new-content/): Stamp content with IronPDF for Node.js. Create pixel-perfect designs using inline CSS styling and precise positioning options. - [Code Example: Asynchronous PDF Generation | IronPDF for Node.js & .NET 10](https://ironpdf.com/nodejs/examples/threading/): Generate PDFs asynchronously with IronPDF for Node.js. Leverage promises and multi-threading. Speed up your workflow now. - [Code Example: Unicode & UTF-8 Support | IronPDF for Node.js .NET 10](https://ironpdf.com/nodejs/examples/unicode/): Create multilingual PDFs with IronPDF for Node.js. Support for Unicode and UTF-8 encoding ensures accurate text display. - [Code Example: Convert HTML to PDF in Node.js | IronPDF (.NET 10)](https://ironpdf.com/nodejs/examples/using-html-to-create-a-pdf/): Convert HTML strings to PDF with IronPDF for Node.js. Same output as Chrome web browsers. Explore HTML stamping and more. - [Code Example: Responsive Pages to PDF with IronPDF & .NET 10](https://ironpdf.com/nodejs/examples/viewport/): Customize viewport settings with IronPDF for Node.js. Optimize CSS styles for screen or print. Choose paper mode for perfect PDF rendering. ## Licensing - [Licensing: Product Licenses & Terms | IronPDF for Node.js](https://ironpdf.com/nodejs/licensing/): See the licensing options for the IronPDF HTML to PDF Node.js library ## Blog - [IronPDF for Node.js Blog: Tutorials & Product Comparison Articles](https://ironpdf.com/nodejs/blog/): Stay updated with the latest news, tips, and tutorials on using IronPDF for Node.js. Explore insights and best practices for enhancing your PDF projects. - [IronPDF for Node.js Blog: Getting Started with IronPDF in Multiple Ways](https://ironpdf.com/nodejs/blog/using-ironpdf-for-nodejs/): Learn how to effectively use IronPDF for Node.js in your projects. Follow tutorials and best practices to maximize the potential of this PDF library. - [IronPDF for Node.js Blog: Tutorials & Product Comparison Articles | IronPDF](https://ironpdf.com/nodejs/blog/compare-to-other-components/): Compare IronPDF for Node.js with other PDF components. Discover the unique features and advantages of using IronPDF for your Node.js projects. - [Top Node.js PDF Tools for Efficient PDF Management](https://ironpdf.com/nodejs/blog/node-pdf-tools/): Explore various PDF tools and features provided by IronPDF for Node.js. Learn how to enhance your Node.js applications with powerful PDF functionalities. - [Node.js Help](https://ironpdf.com/nodejs/blog/node-help/): Get help with Node.js development using IronPDF. Find tutorials, tips, and troubleshooting guides to enhance your projects. - [IronPDF for Node.js Product Video Blog](https://ironpdf.com/nodejs/blog/videos/): View videos and other multimedia content featuring IronPDF for Node.js and its best use cases.