5 Websites That Will Help You Convert Markdown, HTML and Rich Text to PDF

If you work in an office environment, or really do any kind of work at all, you deal with PDFs. Even lifestyle entrepreneurs building startups from a beach in Thailand have to deal with PDFs, and it’s not pretty. You don’t want to install Adobe Acrobat Pro Supreme XXVI or use MS Word to create a formatted PDF. Not when you can do it easily online.

I write in Markdown and frequently need to export documents to PDF. Most Markdown editors have this feature. But doing this on the Web when you don’t have a Markdown editor is not easy. I’ll also be talking about websites where you can paste in HTML code or a web address and have that converted to PDF. And lastly, a plain old text/Word/Office file.

Oddly enough, Markdown documents convert to PDF very nicely. Everything from code blocks to inline formatting is sharp. Take a look at the example below.

An example Markdown document converted to PDF.

1. Markdown to PDF

Markdown to PDF is the simplest way to convert a local Markdown file to a cleanly stylized PDF (the website supports “.txt” and “.rtf” as well). Just go to the website, drag in the file or select it from the file browser, and in a couple of seconds the file will be ready to download.

Markdown to PDF website.

For my testing I used a tutorial filled with code blocks, inline code and basic formatting features. The final PDF turned out really well.

2. Dillinger

Dillinger website.

Dillinger is an online Markdown editor. One of the great ones. The “Live Preview” feature is useful when you’re writing something long. And Dillinger has a handy export feature that makes it easy to copy the Markdown as HTML or just plain text. Dillinger’s PDF export option is beneath the “Export As” button.

Dillinger is a great option for anyone who wants to quickly write something in Markdown and wants it exported to PDF immediately and wants to do it all on the Web – without worrying about a native app. Dillinger’s PDF font style is Serif-based and is not as sharp or modern as “Markdown to PDFs.”

3. HTML to PDF

HTML to PDF website.

HTML to PDF is a simple website where you enter a web page address and can download the generated PDF. The great thing about the website is the plethora of features. You can select between portrait and landscape mode, A4 or Letter page size, and can even do things like disable images or Javascript, background or turn the page grayscale (to save some ink if you’re planning on printing it out later).

4. PDFcrowd

PDFcrowd website.

PDFcrowd will let you convert an HTML file or code (that you can paste in their editor) to a crisp PDF. Basic export options are free, but you’ll have to pay for features like password protection, page size customization and more.

5. SmallPDF

SmallPDF website.

SmallPDF is a multi-purpose PDF conversion website. You can use it to compress, split, merge and unlock password protected PDFs.

One of the functionalities of the website is their ambitious Office document to PDF and PDF to Office document conversion feature. So not only can you convert a Word, Excel or PowerPoint file to PDF but you can actually go backwards. Get a Word, Excel or PowerPoint file from a PDF. That’s crazy.

How do you instantly generate a PDF from your Markdown, .txt or Word document? Share with us in the comments below.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Khamosh Pathak Avatar

Read next

Suzanne Simard sealed paper birch and Douglas fir seedlings inside plastic bags, fed them carbon-14 and carbon-13 dioxide, and nine days later found carbon had crossed between species through fungal threads in the British Columbia soil beneath her boots
A species of jellyfish called Turritopsis dohrnii can revert its adult cells back to a juvenile polyp stage when injured or starving, effectively restarting its life cycle, and biologists have so far failed to identify any natural limit to how many times it can do this.
A Japanese man named Jiroemon Kimura, who lived to 116, was born in 1897 when Queen Victoria still ruled and died in 2013, meaning a single human life personally overlapped with the invention of the airplane, the atomic bomb, the internet, and Instagram
The Hollywood sign originally read HOLLYWOODLAND when it was built in 1923 as a real estate advertisement for a housing development, and it was only meant to stand for 18 months, but nobody ever got around to taking it down and the city eventually adopted it as a landmark
Almost all of the world’s internet traffic does not travel by satellite but through fibre-optic cables lying on the ocean floor, a hidden web of wires crossing the deepest parts of the sea to connect the continents.
People who flip their phone face down on every table aren’t being secretive. They figured out that staying interruptible meant handing their time to whoever rang first
Twitch vs. Facebook Gaming vs. YouTube Gaming: What’s the Best Live Game Streaming Platform?
Chrome Extensions Ownership Transfer is a Direct Threat to You: How to Stay Safe