Integration Guides
Get started with HTML2PDFAPI in your favorite language. Our REST API works with any HTTP client. No SDK required.
fetch()Use native fetch or your preferred HTTP client. Works with Express, Fastify, Next.js, and more.
View guiderequestsSimple integration with requests library. Perfect for Django, Flask, and FastAPI applications.
View guidecURL / GuzzleUse cURL or Guzzle to integrate with Laravel, Symfony, or vanilla PHP projects.
View guideNet::HTTPIntegrate with Ruby on Rails or Sinatra using Net::HTTP or the http gem.
View guidenet/httpUse the standard net/http package for lightweight, efficient PDF generation.
View guidecurlTest the API from the command line or integrate with any language that supports shell commands.
View guideNo-codeAutomate PDF workflows with n8n. No code required for common automation patterns.
View guideWhy No SDK?
Simple REST API
One endpoint, JSON request body, binary response. That's it. Works with any HTTP client.
No Dependencies
Avoid dependency bloat. Use your language's built-in HTTP client or your preferred library.
Full Control
Handle errors, retries, and timeouts your way. No SDK quirks to work around.