About this tool
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.
Open To PDF on AltFTool — it loads instantly in your browser.
Upload or drag in the file you want to work with.
Adjust the settings and preview the result.
Download the finished file to your device.
Conversion happens in the browser, so private documents are not uploaded to a server.
The layout panel shows pages, lines per page and printable area so nothing gets cut off.
A4, A5, US Letter and US Legal in portrait or landscape, with an adjustable margin in millimetres.
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.
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.
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.
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.
Add the To PDFwidget 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"></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">AltFTool — free online tools</a></p>