To PDF
Convert images and plain-text files into a single PDF in your browser, with a choice of page size, orientation and margin.
About this tool
To PDF
Convert images and plain-text files into a single PDF in your browser, with a choice of page size, orientation and margin.
To PDF converts typed text or picture files (JPG, PNG, WebP) into a downloadable PDF entirely inside your browser, with no upload step. It lays every page out in millimetres using standard paper sizes — A4 at 210 × 297 mm (ISO 216) and US Letter at 215.9 × 279.4 mm (ANSI A) — and shows how many pages you will get before you download. It is built for anyone who needs a quick, private PDF from notes, receipts or scanned photos without installing software.
How to use To PDF
- 1
Open To PDF on AltFTool — it loads instantly in your browser.
- 2
Upload or drag in the file you want to work with.
- 3
Adjust the settings and preview the result.
- 4
Download the finished file to your device.
Why use To PDF
Files never leave the device
Conversion happens in the browser, so private documents are not uploaded to a server.
Page count before download
The layout panel shows pages, lines per page and printable area so nothing gets cut off.
Standard paper sizes
A4, A5, US Letter and US Legal in portrait or landscape, with an adjustable margin in millimetres.
Common use cases
- Turning phone photos of receipts into one A4 PDF to attach to an expense claim
- Saving a block of pasted notes or a Markdown draft as a paginated PDF for printing
- Combining scanned ID or certificate images into a single PDF because a form only accepts one file
Frequently asked questions
What page size does this tool use by default?
A4, which is 210 × 297 mm under ISO 216 and the default paper size across Europe, India and most of the world. US Letter (215.9 × 279.4 mm), US Legal (215.9 × 355.6 mm) and A5 (148 × 210 mm) are also available, in portrait or landscape.
Are my files uploaded anywhere when I convert to PDF?
No. The PDF is generated in your browser with JavaScript, so the image or text never leaves your device and nothing is stored on a server. You can even use the tool with your network disconnected once the page has loaded.
How many lines of text fit on one page?
About 59 lines on A4 with a 15 mm margin at 11 pt, because line spacing is 1.15 × the font size and 1 point equals 1/72 inch — 11 × 1.15 = 12.65 pt ≈ 4.46 mm per line into 267 mm of printable height. Changing the margin or font size updates the number instantly.
Which file types can be converted to PDF here?
JPG, PNG and WebP images become one page each, and plain-text content (typed, or pasted from .txt, .md, .csv and .log files) is wrapped and paginated. Office formats such as .docx and .xlsx are not supported because they need a full document renderer.
Embed this tool on your site
Add the To PDF widget to your blog or website — free, responsive, no signup. Just keep the “Widget by AltFTool” credit link visible.
<iframe src="https://www.altftool.com/embed/widget/to-pdf"
title="To PDF — free AltFTool widget"
width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden"
loading="lazy" referrerpolicy="no-referrer-when-downgrade" allow="clipboard-write"></iframe>
<p style="font-size:12px;margin:4px 0 0">Widget by <a href="https://www.altftool.com/tools/all/to-pdf?utm_source=embed&utm_medium=widget" rel="nofollow">AltFTool — free online tools</a></p>