pdtfg is a managed API service for converting HTML to PDF. It offers serverless architecture, easy integration with various programming languages, and supports asset management and privacy. Pay-as-you-go pricing starts at $0.02 per PDF.
Use API without the need to build and manage your own servers.
Powered by a serverless architecture, ensures a fast and scalable PDF generation, even at high volumes.
Utilizes a headless browser to ensure your HTML is rendered accurately without visual differences.
During development, use the preview mode to view the latest PDF in real-time.
Compatible with any programming language and framework, provides smooth HTML to PDF conversion across various technologies.
Includes a diverse selection of built-in fonts, supporting multiple languages.
No need for storage of assets, upload your images, CSS, fonts, etc., through the dashboard and reference them efficiently.
Submitted HTML is not stored, maintaining privacy and data security.
Pay only for what you use, with prices as low as $0.002 per PDF.
pdfg provides an API service that converts HTML content into PDF using a serverless architecture. This ensures a low-cost and scalable environment for generating PDFs.
Access to pdfg's services is provided through an API, allowing users to integrate PDF generation into their applications efficiently.
pdfg offers sample code in various programming languages such as React, Vue.js, Jinja2 (Python), ERB (Ruby), Blade (PHP), Thymeleaf (Java), and Go to help users quickly implement the service into their projects.
Allows you to convert HTML content to a PDF document by sending a JSON payload with the HTML content and desired PDF generation options.
Provides various settings for PDF generation, such as displaying headers and footers, choosing paper format, and customizing footer templates.
An optional feature that adds a watermark to the PDF and does not count towards API usage, useful for development and testing.
Provides a wide selection of fonts primarily centered around the Noto font family. Each font typically comes with 'Bold 600' and 'Regular 400' styles.
Supports a variety of languages across different regions, including European, Cyrillic, and East Asian languages.
Allows users to add and specify custom fonts that aren’t included by uploading the font and specifying it in HTML.
Allows uploading image files directly from the dashboard and referencing them in HTML. This is suitable for fixed images in PDFs, like logos, and supports reuse in different PDF generations. It doesn’t support subdirectory paths.
Enables direct reference to images that are already hosted on the internet. This method bypasses the need to upload images manually to the dashboard by using URLs.
Allows embedding images directly within HTML by using base64 encoding. This method eliminates the need for external image references and ensures images are always available.
You can upload CSS files directly from the dashboard, which are then available for reference in your HTML. This allows for centralized management of style sheets within the platform.
Allows direct reference to external CSS files hosted on the internet, such as CDNs. This can streamline access to popular style libraries but comes with risks like increased load time and potential CDN issues.
Allows setting the PDF size using either the 'format' property or 'width' and 'height' properties in the 'pdfOptions' object. This feature is useful for defining precise dimensions for generated PDFs.
Generated PDFs are instantly reflected in the preview screen, allowing for immediate feedback during development.
API requests with 'preview: true' are not counted towards your usage quota, enabling cost-free testing and development.
Allows you to create React components using JSX/TSX and convert them to HTML strings using ReactDOMServer.renderToString().
Provides an API to send generated HTML strings to be converted into PDFs, making integration with React seamless.
Allows the use of Vue.js server-side rendering to generate HTML strings. These strings can then be converted into PDF by using the pdfg's API.
Send HTML strings generated from Vue.js components to the pdfg API for conversion to PDF format.