# HTML to PDF

Convert an HTML file or pasted HTML and CSS to PDF in your browser. Review the page preview and download the result without uploading your content.

Paste HTML and CSS, or open an .html file, and get an accessible PDF.

 Runs in this tab · nothing is uploaded

1. Add your HTML
2. Choose options
3. Download the result

HTML Open a file 

<article> <h1>Quarterly update</h1> <p>A short report with <strong>headings, a list and a table</strong>.</p> <ul><li>Revenue up 12%</li><li>Two new regions</li></ul> <table><tr><th>Region</th><th>Sales</th></tr><tr><td>North</td><td>1,200</td></tr><tr><td>South</td><td>980</td></tr></table> </article>

Example text is filled in. Replace it with your own.

Ready when you are.

## Your result will appear here

Scripts don't run, and pages aren't fetched from the internet. Most layout CSS works; anything unsupported is listed.

- [Compress PDF](/browser/compress-pdf/)
- [Protect PDF](/browser/protect-pdf/)

## What to expect

Scripts don't run, and pages aren't fetched from the internet. Most layout CSS works; anything unsupported is listed.

[Read the guide](/convert/guides/)

## Use it in your own code

The same engine ships for .NET as [`OfficeIMO.Html.Pdf` on NuGet](https://www.nuget.org/packages/OfficeIMO.Html.Pdf). Run it on a server, in a script, or in your app, without Microsoft Office.

```
dotnet add package OfficeIMO.Html.Pdf
```

## What happens to your file

OfficeIMO runs inside this browser tab as WebAssembly. Your file is read here, never uploaded, stored or logged. Close the tab and it's gone.

[See all browser tools](/convert/)

<!-- PowerForge markdown artifact sha256:FF6ED5860E665A711D2A600FB4DDFBFC4AB114C0A560A124B86B9A4931102A29 -->
