How to

How to convert an uploaded file to PDF in the browser

The converter accepts file uploads as well as URLs and pasted markup. Supported extensions are .html, .htm, .mhtml, .md, .markdown and .txt. It's the quickest route when you have a saved page or a Markdown file and you're on a machine where you can't install an extension.

Takes about 1 min

Steps

  1. Open the converter and choose the upload option

    Then select your file.

  2. Pick a supported file

    .html, .htm, .mhtml, .md, .markdown or .txt.

  3. Click convert

    The file is rendered and captured in your browser.

  4. Download

    The PDF saves to your device.

Worth knowing

  • The file is processed in your browser, not uploaded for server-side conversion.
  • Output is image-based, so text isn't selectable.
  • JavaScript in an uploaded HTML file doesn't run, so a page whose content loads dynamically will come out mostly empty.
  • For images, CSV, JSON and XML — and for real text PDFs — Convert: Anything to PDF handles a much wider set of formats locally.

Questions

Which file types can I upload?

.html, .htm, .mhtml, .md, .markdown and .txt. For images, CSV, JSON, XML and other formats, the Convert: Anything to PDF extension covers a much wider range and produces real text PDFs.

Related guides