· 3 min read

Free PDF generation with the Tools API

Introducing free PDF generation for everyone

We're excited to announce that Ploi Cloud now offers free PDF generation through our Tools API. Every user gets 1,000 free credits to convert URLs, HTML, Markdown, and Office documents to PDF — no strings attached.

Why are we offering this for free?

At Ploi Cloud, we believe in building infrastructure that just works. Our platform runs containerized applications on Kubernetes, handling everything from deployments to scaling automatically. The Tools API is our way of letting you experience this infrastructure firsthand.

When you make a request to our PDF API, you're using the same reliable, scalable infrastructure that powers thousands of applications on Ploi Cloud. Your request hits our API, gets routed to our internal services, processed, and returned — all in seconds. It's a real-world demonstration of what our platform can do.

Powered by Gotenberg

Under the hood, our PDF generation is powered by Gotenberg, an excellent open-source API for converting documents to PDF. Gotenberg uses headless Chrome for rendering web pages and LibreOffice for Office document conversions, ensuring high-quality output every time.

We run Gotenberg as a containerized service within our Kubernetes infrastructure. This means it benefits from:

  • Automatic scaling — handles traffic spikes seamlessly

  • Health monitoring — always available when you need it

  • High availability — the same reliability guarantees as any application deployed on Ploi Cloud

What can you do with it?

The Tools API supports multiple conversion types:

Feature

Description

URL to PDF

Convert any public webpage to a PDF document

HTML to PDF

Send raw HTML and receive a rendered PDF

Markdown to PDF

Convert your Markdown content with optional custom styling

Office to PDF

Convert Word documents, Excel spreadsheets, and PowerPoint presentations

PDF merge

Combine multiple PDFs into a single document

Screenshots

Capture PNG or JPEG screenshots of URLs or HTML content

Each conversion gives you full control over the output: page size, orientation, margins, scaling, and more.

Getting started

Using the API is straightforward. Authenticate with your API token and make a POST request:

Convert a URL to PDF

curl -X POST https://ploi.cloud/api/v1/tools/pdf/convert/url \
    -H "Authorization: Bearer YOUR_API_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{"url": "https://example.com"}' \
    --output document.pdf

Convert HTML to PDF

curl -X POST https://ploi.cloud/api/v1/tools/pdf/convert/html \
    -H "Authorization: Bearer YOUR_API_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{"html": "<h1>Hello World</h1><p>This is a PDF.</p>"}' \
    --output document.pdf

Check your remaining credits

curl https://ploi.cloud/api/v1/tools/pdf/convert/balance \
    -H "Authorization: Bearer YOUR_API_TOKEN"

For complete documentation, including all available options and endpoints, visit our tools API documentation.

A taste of what Ploi Cloud can do

The Tools API represents just a fraction of what you can run on Ploi Cloud. If you need to deploy your own Gotenberg instance, or any other containerized service, our platform makes it simple:

  1. Deploy from your Git repository

  2. Add services like databases and caching

  3. Let us handle the infrastructure

We're offering these 1,000 free credits because we want you to see our infrastructure in action. No credit card required, no hidden limits — just reliable PDF generation powered by production-grade Kubernetes.

Give it a try and see what Ploi Cloud can do for your applications.

👉 Read the documentation.

Share this post

Ready to deploy your applications?

Join thousands of developers who trust Ploi Cloud to deploy and manage their containerized applications.

Get started for free