Skip to content

The Gotenberg alternative
with no containers to run

Gotenberg is Chromium and LibreOffice conversion in a Docker image you host, size and harden. Microlink runs the browsers for you, one request per PDF: 46,000 PDFs for $49 a month.

The following examples show how to use the Microlink API with CLI, cURL, JavaScript, Python, Ruby, PHP & Golang, targeting 'https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Media_queries/Printing' URL with 'pdf' & 'meta' API parameters:

CLI Microlink API example

microlink pdf https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Media_queries/Printing --format A4 --margin 1cm

cURL Microlink API example

curl -G "https://api.microlink.io" \
  -d "url=https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Media_queries/Printing" \
  -d "pdf.format=A4" \
  -d "pdf.margin=1cm" \
  -d "meta=false"

JavaScript Microlink API example

import createClient from 'microlink.io'

const microlink = createClient()

const data = await microlink.pdf('https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Media_queries/Printing', {
  format: "A4",
  margin: "1cm"
})

Python Microlink API example

import requests

url = "https://api.microlink.io/"

querystring = {
    "url": "https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Media_queries/Printing",
    "pdf.format": "A4",
    "pdf.margin": "1cm",
    "meta": "false"
}

response = requests.get(url, params=querystring)

print(response.json())

Ruby Microlink API example

require 'uri'
require 'net/http'

base_url = "https://api.microlink.io/"

params = {
  url: "https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Media_queries/Printing",
  "pdf.format": "A4",
  "pdf.margin": "1cm",
  meta: "false"
}

uri = URI(base_url)
uri.query = URI.encode_www_form(params)

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true

request = Net::HTTP::Get.new(uri)
response = http.request(request)

puts response.body

PHP Microlink API example

<?php

$baseUrl = "https://api.microlink.io/";

$params = [
    "url" => "https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Media_queries/Printing",
    "pdf.format" => "A4",
    "pdf.margin" => "1cm",
    "meta" => "false"
];

$query = http_build_query($params);
$url = $baseUrl . '?' . $query;

$curl = curl_init();

curl_setopt_array($curl, [
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => "",
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => "GET"
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
    echo "cURL Error #: " . $err;
} else {
    echo $response;
}

Golang Microlink API example

package main

import (
    "fmt"
    "net/http"
    "net/url"
    "io"
)

func main() {
    baseURL := "https://api.microlink.io"

    u, err := url.Parse(baseURL)
    if err != nil {
        panic(err)
    }
    q := u.Query()
    q.Set("url", "https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Media_queries/Printing")
    q.Set("pdf.format", "A4")
    q.Set("pdf.margin", "1cm")
    q.Set("meta", "false")
    u.RawQuery = q.Encode()

    req, err := http.NewRequest("GET", u.String(), nil)
    if err != nil {
        panic(err)
    }

    client := &http.Client{}
    resp, err := client.Do(req)
    if err != nil {
        panic(err)
    }
    defer resp.Body.Close()

    body, err := io.ReadAll(resp.Body)
    if err != nil {
        panic(err)
    }

    fmt.Println(string(body))
}

Why developers switch.

Gotenberg is free software, but you run the fleet. Why teams hand that work to Microlink.

No containers to size
One Gotenberg container runs one Chromium that handles 6 conversions at once, and LibreOffice converts one file at a time. More traffic means more containers to size and keep healthy. On Microlink there are no containers to size or monitor.
Browser health is not your job
Gotenberg restarts Chromium every 100 conversions by default, and keeping it healthy under load is on you. Microlink runs the browsers behind each request.
No SSRF hardening to get right
A Gotenberg instance reaches private IPs by default: --chromium-deny-private-ips is false unless you set it. If it renders URLs your users send, locking it down is your work. Microlink never renders a private network address.
A CDN URL and more than PDFs
Microlink serves each PDF from a CDN URL, and the same key returns a screenshot, metadata or markdown of the page, with an MCP server for agents.

Start free, scale when ready

Gotenberg costs nothing to download; the servers that run it bill every month. Microlink charges one request per PDF, whatever it weighs: 46,000 for $49 a month, $1.07 per 1,000, with no containers to keep up.

Pro

For production workloads.
$49/month
≈ $1.07 per 1,000 requests
46,000 requests / month
Buy
Cancel anytime · No setup fees

Business & Enterprise

Bought the way companies buy.
Enterprise adds

Feature by feature,
side by side.

Every Gotenberg cell comes from gotenberg.dev and the Gotenberg repository (v9.12.0).

FeatureMicrolinkGotenberg
Free plan
Self-hosted only, with no hosted offering. You pay for the servers that run it.
25 requests/day, renews daily, no credit cardFree, MIT
Live URL to PDF
Word, Excel and PowerPoint URLs to PDF
Microlink prints the document through HTML: text, not page layout. LibreOffice converts uploaded files, one at a time per container.
Upload
Screenshot, metadata and markdown from the same API
Gotenberg also returns PNG, JPEG and WebP screenshots.
Partial
Raw HTML input
HTML and Markdown files are sent in the request.
-
Header and footer templates
Gotenberg takes them as header.html and footer.html files.
-
Watermarks
Gotenberg adds them as a stamp.
-
Password protection and encryption-
PDF/A output
PDF/A and PDF/UA, plus digital signatures.
-
Merge PDFs
Merge and split as PDF stages.
-
Async with webhooks-
Private network targets blocked
Microlink never renders a private network address. Gotenberg reaches private IPs until --chromium-deny-private-ips is set.
Opt‑in
Runs inside your network
With Gotenberg, documents never leave your infrastructure.
-
Open source you can fork
Microlink’s core (Metascraper, MQL, Browserless) is MIT. Gotenberg is MIT licensed as a whole on GitHub.
Partial
Last verified: December 2026. Competitor features from public docs and pricing. A dash marks a feature not offered.

When Gotenberg is the better pick.

Gotenberg wins on cost at scale, privacy, input formats, PDF post-processing, headers, footers and webhooks, and openness.
  • Very high volume on containers you already run

    If your team already runs a container platform, very high volume can cost less on your own nodes than a hosted API billed per request. Count the hours spent sizing, monitoring and hardening it before you decide.
  • Documents that never leave your network

    Gotenberg runs where you put it, so contracts, invoices and internal pages are converted without crossing your perimeter. Microlink renders the URLs you send on its own infrastructure.
  • Raw HTML, Markdown and office files

    Send HTML or Markdown your app generates, or an office file for LibreOffice, and get a PDF back. Microlink only takes a URL it can reach, with cookies or headers for pages behind a login.
  • Merge, split, encrypt, stamp and sign

    PDF stages merge and split files, add passwords and stamps, produce PDF/A and PDF/UA, and sign documents. Microlink has none of these.
  • Headers, footers and webhooks

    Chromium conversions take header and footer HTML, and long jobs can report back to a webhook instead of holding the request open.
  • Open source you can audit and fork

    MIT licensed, about 13.7k GitHub stars and 100M+ Docker pulls. Read the code, patch it and ship your own build when you need to.

Product Information

Running costs, concurrency, URL safety, office files and when Gotenberg is still the right call.

Is Gotenberg free?

The software is. Gotenberg is MIT licensed and ships as a Docker image with no hosted offering, so the cost is the servers that run it and the time spent operating them.
Microlink is a hosted API: one request per PDF, with a free plan to start.

How many PDFs can one Gotenberg container convert at once?

6 Chromium conversions at a time, while LibreOffice converts one file at a time. Chromium restarts every 100 conversions by default, and the API times out after 30 seconds by default.
More traffic means more containers to run and pay for.
Microlink publishes no conversions-per-minute or concurrency figure, and each request has a 90 second timeout on Pro and 30 seconds on the free plan.

Is it safe to render user URLs with Gotenberg?

Only once you lock it down. Gotenberg reaches private IPs by default, because --chromium-deny-private-ips is false unless you set it, so an instance that renders URLs your users send can be pointed at your internal network.
Microlink never renders a private network address.
Yes, from a URL. Pass the URL of a .docx, .xlsx or .pptx file with pdf=true and Microlink returns a PDF. Microlink converts the document to HTML and prints that, so the PDF keeps its text but not its original page layout.
Gotenberg runs LibreOffice next to your own systems, which suits documents that are not public.
No. Microlink renders a URL it can reach, so HTML your app generates has to be served at a URL first.
If your PDFs start as HTML strings or Markdown files, Gotenberg fits that flow better.
No. Microlink has no merge, watermark, encryption, PDF/A or webhook options, and no header and footer templates.
Gotenberg covers all of them, plus split, PDF/UA and signing. If your pipeline post-processes every PDF, that is a real reason to stay.
On Microlink a very long document can fail to render within the request timeout with an EPDFTOOLARGE error.
The free plan stops at 30 seconds and Pro at 90, so a document that fails on the free plan can still pass on Pro.
Microlink gives you 25 requests/day, renews daily, no credit card, with proxy, headers and ttl, and a 30 second request timeout instead of 90.
Point it at the URL you convert with Gotenberg today and compare the PDF. Start from the PDF guide.

Start building

Turn a web page or office file URL into a PDF with one request, and leave the containers, browser health and private-IP hardening to us.
Get your free API key
25 requests/day · Proxy, headers and ttl · No credit card
Trusted with 140M+ requests every month

Gotenberg is a trademark of its owner. Microlink is not affiliated with or endorsed by the Gotenberg project. Details about Gotenberg come from its public documentation and repository and may have changed since they were checked.