You asked ChatGPT for a price list or a class plan, pressed copy, and got text full of # signs and stars. The client wants a PDF by Friday. Paste the text here and download a clean PDF.
How to use Markdown to PDF
- Paste or type your Markdown in the box. Or press Open file to open a .md or .txt file. Example fills the box with a sample, and Clear empties it.
- Pick a style: Classic, Modern or Compact.
- Pick a page size: US Letter, A4, or a LinkedIn page.
- Watch the preview. It shows each page of the PDF, with the same page breaks.
- Need a title or page numbers? Open More options. The title is also the file name. With no title, the tool uses your first heading.
- Press Download PDF when the line says Ready. On a phone, press Save or share to send it to Files, Mail or another app.
Where the stars and # signs come from
Markdown is a way to write formatting with plain keys. Two stars around a word make it bold. A # at the start of a line makes a heading. ChatGPT, Claude and Gemini answer in Markdown, and their copy button often gives you the Markdown itself. Notes apps like Notion and Obsidian can save it too.
It reads fine in the app. Paste it into an email or a Word file, and every star shows.
Why a quick print often looks wrong
Printing the page from a chat app gives you the menus, the buttons and a cut-off table. Many other converters turn the text into a picture of text, so you cannot copy it or search it. Some cut a wide table at the edge of the page and lose the last column.
What this tool does, and what it does not
- Real text. The PDF holds real letters, so you can select, copy and search them. A two-page PDF is often less than 10 KB.
- The method. The tool reads your Markdown with marked, a free code library, and lays out each line itself. It writes the PDF with pdf-lib, another free library, using the standard fonts every PDF reader has: Times, Helvetica and Courier.
- What it shows. Headings, bold, italic, strikethrough, lists inside lists, to-do boxes, quotes, code, tables and lines between parts. Links are blue, and you can click them in the PDF.
- Long lines wrap. A long line of code and a wide table wrap onto the next line. Nothing is cut off at the edge. A table that runs onto the next page shows its header row again.
- Pictures are left out. The tool fetches nothing from the internet, so an image shows as its alt text, the short words that describe it.
- Latin letters only. The standard fonts hold English and most Western European letters, plus curly quotes and the euro sign. Letters like ł become l. Greek, Cyrillic, Arabic, Hebrew, Chinese, Japanese and Korean show as a question mark, and the tool lists them above the button. Emojis are left out.
- Up to 400,000 characters. That is about 60,000 words.
- Nothing is uploaded. Your text stays on your device, and nothing is kept after you close the page.
On social media
LinkedIn is the network that turns a PDF into a post. It shows each page as a slide people swipe through, called a document post. LinkedIn takes a PDF of up to 100 MB and 300 pages, and shows the title you give it on the post.
Pick LinkedIn tall (4:5) or LinkedIn square (1:1) as the page size. The text gets bigger so it reads on a phone, and each line with three hyphens on it (---) starts a new page. Write one short idea per page, with a heading on top.
Instagram, TikTok, Facebook, Pinterest and X do not take a PDF in a post. To post slides there, make them as pictures. The JPG to PDF tool goes the other way and puts pictures in one PDF.
FAQ
How do I convert Markdown to PDF?
Paste your Markdown in the box on this page and press Download PDF. The preview shows each page first. Pick a style and a page size before you download if you want a different look.
How do I save a ChatGPT answer as a PDF?
Press the copy button under the answer in ChatGPT, paste the text here, and press Download PDF. The copy button usually gives you Markdown, so headings, lists and tables come out formatted in the PDF.
Is my text uploaded?
No. The PDF is made by your browser on your device. Your text is not sent anywhere, and nothing is kept after you close the page.
Why do some letters show as a question mark?
The PDF uses the standard fonts every reader has, and they hold Latin letters only. Greek, Cyrillic, Arabic, Hebrew, Chinese, Japanese and Korean letters show as a question mark, and the tool lists them before you download.
Can I use my own CSS or fonts?
No. You pick one of three styles: Classic with Times type, Modern with Helvetica, and Compact with small type and narrow margins. These fonts keep the PDF small, and it opens the same way everywhere.
Will my table be cut off?
No. The tool makes each column as wide as its text needs and wraps long cells onto more lines. If a table runs past the end of a page, it goes on the next page with its header row again.