Markdown to rich text
See your Markdown rendered as it will look, then copy it with formatting into Word, Google Docs, Gmail or Outlook — or export it as a PNG image, a Word document or a PDF. Switch the format any time from the output pane.
Additional settings— Presets, conversion options and the PDF stamp
Presets— Pick where the text is going and the settings switch to suit it. Your own text is never replaced — a sample only loads into an empty pane.
Conversion settings
These apply to plain text only. Rich text and HTML keep the document's real structure, so there is nothing here for them to decide. Switch the output format back to plain text to use them.
Stamping bay— header & footer printed on the PDF
Already set up — a footer with the document title and the time you printed it. Leave it alone and it just works. Change anything below if you want something else, or pick a ready-made arrangement.
Type anything you like. These stand in for values at print time:
{title}- First heading or first line of the document
{date}- Date the PDF was printed
{time}- Time the PDF was printed
{datetime}- Both, e.g. 30 Aug 2026, 14:57
There is no page-number token: a browser cannot count pages inside a running header. Your print dialog can add page numbers instead — see the note below.
Ctrl / ⌘ + scroll or pinch to zoom the preview · drag to pan when zoomed
Markdown
0 chars
Output
0 chars
Ctrl / ⌘ + scroll or pinch to zoom · drag to pan
Keyboard shortcuts— the same keys as VS Code, or press Ctrl / ⌘ + H
Output
- Ctrl/⌘+EnterCopy the output
- Ctrl/⌘+SDownload the output (saves the .md file in Rich text)VS Code: Save
- Ctrl/⌘+PSave as PDFTakes over the browser print dialog so it prints the document, not the page around it
- Ctrl/⌘+Shift+VCycle plain text → rich text → HTML sourceVS Code: Open Markdown preview
View
- Ctrl/⌘+BFit the output to the screen, and backVS Code: Toggle the sidebar
- F11FullscreenVS Code: Toggle full screen
- Ctrl/⌘+=Bigger outputVS Code: Zoom in
- Ctrl/⌘+-Smaller outputVS Code: Zoom out
- Ctrl/⌘+0Reset the output size for this screenVS Code: Reset zoomBack to 100%, and to the type size this device should have started at
- EscBack to two panes, and out of fullscreenVS Code: Leave Zen Mode
Help
- Ctrl/⌘+Hor?Show this listVS Code: Keyboard shortcuts is Ctrl+K Ctrl+SOn a Mac, ⌘H is taken by the system to hide the window — use Ctrl+H or ? there
For a better-looking PDF— four settings in the print dialog
- Destination: Save as PDF.Not a physical printer, and not "Microsoft Print to PDF" if you can avoid it — it rasterises less predictably.
- Turn on “Background graphics”.It lives under More settings. Without it the browser strips every fill: code blocks lose their shading, table headers go white, and a dark-theme PDF comes out as white paper with white text on it.
- Turn off “Headers and footers”.That is the browser adding the page URL and date of its own accord, which collides with the stamp set in the stamping bay. Switch the browser’s off and keep yours — or the reverse if you want page numbers, which only the browser can count.
- Pick the paper in the dialog.The document no longer asks for a sheet size of its own, so Paper sizeand Scale are both yours to set — pick A4, Letter or anything else your printer offers, and shrink a wide table with Scale if you need to. Margins are still set by the document, sized to fit whatever header and footer you chose.
- Avoid “Fit to page”.It rescales the type and throws the margins out, which is what the stamp spacing depends on. 100% or Default gives the layout the document was built for.
Landscape suits documents built around wide tables. If a table still runs off the edge, switch the output to plain text with tab-separated tables and paste it into a spreadsheet instead — a PDF is a poor container for a very wide table.