TinyPDF.in logo
Tools › PDF

Convert to PDF

Turn a plain text file, a Markdown file or a comic book (CBZ) into a PDF, in your browser.

Text, Markdown and web pages become A4 pages with the text in one standard font. Other scripts (Hindi, Greek, Chinese and so on) and symbols the font lacks are shown as "?". Headings, lists and paragraphs are kept; images and page styling are not. For a web page with its layout and CSS, use PDF Generator.

How to convert a text, Markdown, web page or comic file to PDF

Choose the kind of file, then select it. Text, Markdown and web pages become A4 pages in one standard font. A comic book (CBZ) becomes one page per image.

  1. Choose the kind of file from the list: plain text, Markdown, web page or comic book.
  2. Select the file from your device.
  3. Press Convert to PDF. The PDF downloads to your device.

Questions

Is my file uploaded?

No. The file is read and converted inside your browser tab and is never sent to a server.

Why are my line breaks gone in a text file?

Lines within one paragraph are joined into flowing text, and a blank line starts a new paragraph. This suits prose. Poems and code keep their shape only in the original file.

What does a web page keep?

Headings, paragraphs, list items and table rows. Scripts, styles and images are left out. For the page layout with its CSS, use PDF Generator.

What is a CBZ file?

A CBZ is a ZIP file that holds a comic's pages as images, in order. Each image becomes one PDF page. Files with the .cbr extension are RAR archives and are not supported here.

Are images and tables kept in a Markdown file?

Headings, lists, bold, italic and links are kept. Images are left out, and tables are not kept as tables.

Try a playground next

The playgrounds run in your browser too. Practise, test and build with them, and nothing is uploaded.

PDF Generator
Write a page in HTML and CSS, fill it from JSON, and see it on A4 or Letter as you type.
Email Playground
Preview an HTML email in Gmail, Outlook and dark mode before you send it.
Test Data Generator
Make realistic test rows as CSV, JSON or SQL, up to 5 million of them.
SQLite Playground
Open a .sqlite file or practise SQL against sample data, all in your browser.
DuckDB Playground
Query CSV and Parquet files with SQL, without uploading them.
Log Playground
Search, filter and line up log files side by side.

Stuck, or have an idea? Contact support or send feedback.