> ## Documentation Index
> Fetch the complete documentation index at: https://docs.doczilla.app/llms.txt
> Use this file to discover all available pages before exploring further.

# PDF from HTML

> Generate PDF from HTML.

Convert HTML content into professional-looking PDF documents
using the `html` [Page option](/api-reference/page-options).
See [PDF options](/api-reference/pdf-options) for all available options for PDFs.

## Example

<CodeGroup>
  <Snippet file="code-group/pdf-html.md" />
</CodeGroup>

## Output

<Frame>
  <iframe height={500} width={'100%'} src="https://assets.doczilla.app/examples/pdf-from-html.pdf" />
</Frame>
