Skip to content
Markdown to PDF
More free tools

Numbered pages, no sign-up

Markdown to PDF with page numbers

Page numbers help when people print a document or talk about it on a call ("see page 3"). Turn on one switch and every page gets a number in the footer.

Page options
Page numbers
Front matter

Preview (what the PDF will look like)

The button opens your browser print dialog. Choose Save as PDF as the destination. For a clean page, turn off "Headers and footers". The file is named after your first heading. Everything stays on your device.

Saving a PDF on a phone or tablet

iPhone and iPad (Safari)

  1. Press Download PDF.
  2. On the page preview, spread two fingers apart. The PDF opens full screen.
  3. Tap the Share button, then Save to Files.

Android (Chrome)

  1. Press Download PDF.
  2. At the top of the print screen, set Destination to Save as PDF.
  3. Tap the round PDF button and choose where to save.

Two settings for a clean PDF

Your browser opens its print window next. In that window:

Picture of the print window (not clickable)
Destination Save as PDF Options Headers and footers (off) Background graphics (optional)
  1. Set Destination to Save as PDF.
  2. Turn off Headers and footers.

Turn on page numbers

  1. Open or paste your Markdown.
  2. Tick Add to footer under Page numbers. The sample on this page already has it on.
  3. Press Download PDF and choose Save as PDF.
  4. Look at the footer of the saved file. It reads "1 / 3", "2 / 3", and so on.

Which browsers draw them

Chrome and Edge draw the numbers. At the time of writing, Safari and Firefox do not draw page numbers from a web page, so the PDF has none there. If you use one of those, open the same page in Chrome or Edge to make the PDF.

On a phone, Safari on iPhone does not draw them. Chrome for Android may. Open the saved file and check.

Start a new page where you want one

Put <!-- pagebreak --> alone on a line. A new page starts there. The sample shows this: a summary on page one, a table on page two, and a list on page three.

Paper size and margins

  • US Letter for the United States and Canada. A4 for most other places.
  • Narrow margins (0.5 in) fit more on a page. Wide margins (1 in) suit letters and essays.
  • Landscape helps with wide tables.
  • The page count under the buttons updates as you type, so you know how many numbers to expect.

Questions

Can I start numbering from page 2?

No. Numbering starts at 1 on the first page. If you need a cover without a number, make the cover as a separate file and join the PDFs in a viewer.

Why do I see "1 / 3" and not just "1"?

The footer shows the page and the total. It helps a reader of a printout know that no page is missing.

The numbers are missing in my PDF. Why?

Your browser may not draw them. Use Chrome or Edge on a computer. Also check that the box is ticked before you press Download PDF.

More ways to use this converter

More free tools from Bingemind