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

# Chromium overview

> Convert URLs, HTML, and Markdown to PDF or capture them as screenshots using Gotenberg's Chromium routes.

Chromiumly wraps Gotenberg’s [Chromium conversion routes](https://gotenberg.dev/docs/convert-with-chromium/convert-url-to-pdf) and [Chromium screenshot routes](https://gotenberg.dev/docs/convert-with-chromium/screenshot-url). Conversion works by simulating browser navigation (URL route) or rendering files you send (HTML/Markdown routes): Chromium loads the page, runs JavaScript, loads CSS and assets, then captures the DOM as PDF. Inputs can be a file path, a `Buffer`, or a `ReadStream`. For server configuration and limits, see [Gotenberg’s Chromium docs](https://gotenberg.dev/docs/convert-with-chromium/convert-url-to-pdf).

## Converters (to PDF)

| Class               | Input                         | Method                        |
| ------------------- | ----------------------------- | ----------------------------- |
| `UrlConverter`      | URL string                    | `convert({ url })`            |
| `HtmlConverter`     | HTML file (e.g. `index.html`) | `convert({ html })`           |
| `MarkdownConverter` | HTML + Markdown files         | `convert({ html, markdown })` |

Each `convert()` returns a `Buffer` containing the PDF. Pass [page properties](/chromium/options) (size, margins, landscape, etc.) and options like headers, wait conditions, and PDF encryption.

## Screenshots (to PNG/JPEG/WebP)

| Class                | Input                 | Method                        |
| -------------------- | --------------------- | ----------------------------- |
| `UrlScreenshot`      | URL string            | `capture({ url })`            |
| `HtmlScreenshot`     | HTML file             | `capture({ html })`           |
| `MarkdownScreenshot` | HTML + Markdown files | `capture({ html, markdown })` |

Each `capture()` returns a `Buffer` (image). Set format, quality, dimensions, and similar options via [screenshot options](/chromium/options).

## Next pages

* [URL](/chromium/url) — convert a URL to PDF or capture a screenshot
* [HTML](/chromium/html) — convert or capture from an HTML file
* [Markdown](/chromium/markdown) — convert or capture from HTML + Markdown
* [Options](/chromium/options) — page properties, conversion options, and screenshot options
