UtilHub

Markdown Export (PDF / HTML)

New

Paste Markdown and export as a beautifully styled HTML document or print to PDF. Choose from GitHub, Minimal, or Professional themes. Live preview included.

Document Title

Welcome to this Markdown document. It demonstrates various features.

Features List

  • Bold text with double asterisks
  • Italic text with single asterisks
  • Strikethrough text
  • Inline code snippets

Ordered Steps

  1. Write your markdown
  2. Choose a theme
  3. Export to HTML or PDF

Code Example

function greet(name) {
  return `Hello, ${name}!`;
}
console.log(greet("World"));

Blockquote

"The best way to predict the future is to invent it."

— Alan Kay


Check out UtilHub for more tools.

Sample Image

Frequently Asked Questions

What Markdown features are supported in the export?

The exporter supports headings (h1-h6), bold, italic, strikethrough, inline code, fenced code blocks with language hints, links, images, unordered and ordered lists, blockquotes, horizontal rules, and paragraphs.

How does the PDF export work?

PDF export uses the browser's native print dialog via a hidden iframe. The styled HTML document is loaded into the iframe and the print function is called, letting you save as PDF through your browser's 'Save as PDF' option in the print dialog.

What is the difference between the three themes?

GitHub theme mimics GitHub's markdown rendering with system fonts and subtle borders. Minimal uses serif fonts with generous line spacing for a clean reading experience. Professional uses a sans-serif font with tight spacing and blue accent headings for business documents.