HTML to PDF

Build a PDF from pasted HTML or a .html file. PHP processing with Dompdf; handy for simple resumes and receipts.

Paste a fragment or full document. Simple CSS usually works; advanced features may be ignored by Dompdf. Max ~600 KB.

Overview

This is one of the few GigaCode tools that run on the server: your HTML is turned into a PDF with Dompdf (content is not kept after the response). It fits simple resume, receipt, or letter templates.

The engine does not implement full CSS3 or JavaScript: keep layouts straightforward, use supported fonts (e.g. DejaVu), and avoid remote images (disabled for security). Request size is limited to about 600 KB.

Requirement: run `composer install` on the PHP deployment so Dompdf is present.

Sample

<h1>Recibo</h1><p>Item: serviço X, total R$ 100,00</p>

FAQ

What is this tool for?

It runs fully in your browser: useful to validate, format, or convert data in everyday development.

Are my inputs sent to a server?

Processing happens locally with JavaScript. We do not store what you paste into the text areas.

Can I use this for real production data?

Use at your own risk. For secrets (passwords, tokens), prefer controlled environments and your company policies. And always review the generated contents. Never trust blindly things you see on the internet.