A Word document, a spreadsheet, a web page and a JSON file all end up as PDF, but not in the same way. Some tools keep the layout of an Office file, some print data as tables, and some draw each page as a picture. This guide helps you pick the tool for your format, shows which tools upload your file, and explains why the text in some PDFs cannot be selected. The Convert to PDF Tools page lists every tool in one place.
What do you want to convert?
Start from the format you have. The last column shows where the file is processed.
| You have | Use | Processed |
|---|---|---|
| Word, ODT, RTF or TXT document | Word to PDF | Our server |
| Excel, ODS or CSV workbook | Excel to PDF | Our server |
| PowerPoint or ODP presentation | PowerPoint to PDF | Our server |
| A link to a Word file or Google Doc | Word URL to PDF | Our server |
| A link to a Google Sheet | Google Sheets to PDF | |
| HTML file or HTML code | HTML to PDF | Your browser |
| Markdown file | Markdown to PDF | Your browser |
| Plain .txt file | Text to PDF | Your browser |
| Text you type or paste | Text Editor to PDF | Your browser |
| CSV table | CSV to PDF | Your browser |
| TSV table or cells copied from a sheet | TSV to PDF | Your browser |
| JSON data | JSON to PDF | Your browser |
| XML file | XML to PDF | Your browser |
| YAML file | YAML to PDF | Your browser |
| INI, CFG, CONF or PROPERTIES file | INI to PDF | Your browser |
| SRT subtitles | SRT to PDF | Your browser |
| WebVTT subtitles or captions | VTT to PDF | Your browser |
| SVG drawings | SVG to PDF | Your browser |
| A Base64 string or data URI | Base64 to PDF | Your browser |
| Pages photographed with a phone or webcam | Camera to PDF | Your browser |
Photos, screenshots and scans that are already image files belong to a different guide: see PDF and Images.
Word, Excel, PowerPoint and Google files
These tools run on our server, not in your browser. Word, Excel and PowerPoint accept files up to 50 MB and Word URL to PDF up to 25 MB. The details of what happens to your file are in the last section.
Word to PDF
Word to PDF reads DOCX, DOC, ODT, RTF and TXT. Margins, page size, columns, headers, footers and page numbers stay as in the document, text stays selectable, links stay clickable and headings become bookmarks. Comments are not included, and macros are never run. You can ask for PDF/A for archiving, which is often required for theses and official submissions, and for OCR, which adds a hidden text layer so text inside pictures can be searched. Fonts that are not available on the server are replaced with a similar font, which can shift line breaks slightly. Embedding fonts in Word (Options, Save) avoids this. A password-protected file must be saved without the password first.
Excel to PDF
Excel to PDF reads XLSX, XLS, XLSM, ODS and CSV. Fonts, colors, borders, number formats, merged cells, charts and images are kept, and cells show their calculated results, not the formulas. Hidden sheets are left out. Choose the layout before you upload:
- Use the workbook's print settings follows the print areas, page breaks and scaling set in Excel, so a sheet may take one page or several.
- Each sheet on one page places every sheet on a single page, however wide it is. Use it when columns would otherwise be cut off.
A CSV file opened here is printed as a plain table with no formatting. For CSV data, CSV to PDF offers table styles and page options.
PowerPoint to PDF
PowerPoint to PDF reads PPTX, PPT, PPSX and ODP, and several other presentation formats, using LibreOffice on our server. Besides full slides you can create handouts with 2, 3, 4, 6 or 9 slides per page, or notes pages with the speaker notes. You can choose the page size, a range of slides, and the image quality: Standard (150 dpi), High (300 dpi) or Maximum (original images). Hidden slides are skipped unless you include them. Animations, transitions, audio and video are not part of a PDF, and complex effects such as 3D or unusual SmartArt layouts may look different. Password-protected presentations cannot be converted.
Links to online documents
Word URL to PDF takes a link to a Word file or a Google Doc, OneDrive, SharePoint, Dropbox, Box or GitHub document. Our server downloads the file from the link, so the document must be shared as "Anyone with the link can view". Links that require a sign-in, such as company-only SharePoint links, cannot be opened. If you give it a web page, it uses the first Word file on that page. For a private document, download the file and use Word to PDF instead.
Google Sheets to PDF works differently: you paste the normal link of the sheet and Google creates the PDF, which goes straight to your browser and does not pass through our server. The sheet must be shared with the link, unless you are signed in to a Google account that can open it, and "Publish to the web" links are not supported. You can choose the paper size, orientation, scaling and gridlines, and export only the tab in the link (the link must contain #gid=) or every sheet.
Web pages and text
HTML to PDF
HTML to PDF takes an .html or .htm file or pasted HTML code, up to 15 MB and 500 pages. It does not accept web addresses: save the page as HTML first. Your browser lays out the CSS, tables, flexbox, grid, web fonts and images, and you choose the page size, orientation, margins and page numbers. Add break-before: page to an element to start a new page.
- Each PDF page is saved as a picture, so the text cannot be selected or searched and links are not clickable.
- Scripts do not run, so content that JavaScript would generate, such as charts or loaded data, is missing.
- Images and stylesheets must use full https:// addresses or data URIs. Files next to the HTML file on your computer cannot be read.
Markdown to PDF
Markdown to PDF reads .md and .markdown files up to 10 MB, or text you paste. It supports headings, lists, blockquotes, GitHub-style tables, task lists and code blocks. Links are clickable, headings of levels 1 to 3 become bookmarks, and tables repeat their header row on every page. Syntax highlighting, math and an automatic table of contents are not supported. A pagebreak comment starts a new page. Images need a full https:// address or a data URI.
Plain text
Text to PDF converts .txt files up to 20 MB. It detects the encoding automatically, and you can set the font, size, line spacing, margins, page size, tab width, a header and page numbers. Everything is printed as typed, with no bold, headings or colors, so Markdown symbols appear as symbols. Use Markdown to PDF when you want formatting.
Text Editor to PDF is for text you type or paste. Choose a font, size, colors and alignment, which apply to the whole text, and optionally add page numbers, the date or a watermark. It has no headings, tables or images. For a formatted document, use Word to PDF.
Data and configuration files
These tools make a readable PDF from a data file. They print the data; they do not turn it into a designed report.
| Tool | Layouts | Limits and things to know |
|---|---|---|
| CSV to PDF | Table with striped, grid or plain style | Files up to 100 MB; a text PDF holds up to 100,000 rows and the tool tells you if rows were left out; separator and encoding can be set or detected |
| TSV to PDF | Same table options as CSV | Reads tab-separated files and cells pasted from Excel or Google Sheets; same limits as CSV |
| JSON to PDF | Formatted code, or a table of key path, type and value | Up to 30 MB; strict JSON only, errors are shown with line and column; the table view does not give arrays of objects one column per field |
| XML to PDF | Indented XML, original text, or a simple list | Up to 10 MB; invalid XML is reported before the PDF is made; XSLT stylesheets are not applied |
| YAML to PDF | Formatted code, or a table of key path, type and value | Up to 30 MB; several documents in one file are supported; comments appear only in the code layout |
| INI to PDF | Formatted code, or a table of section, key and value | Up to 30 MB; also reads CFG, CONF, PROPERTIES and similar files, but not TOML or .env; duplicate keys are kept and flagged |
In CSV to PDF and TSV to PDF, wide tables switch to landscape and, if needed, a smaller font, so that no column is cut off. If accented letters look wrong, such as "é", the encoding does not match: choose the right one in the text encoding setting of CSV to PDF.
Subtitles, SVG, Base64 and camera photos
Subtitles
SRT to PDF and VTT to PDF turn subtitle files up to 20 MB into a transcript. Choose a table with one row per subtitle and its start time, or plain paragraphs with time marks every paragraph or every 1, 2, 5 or 10 minutes. You can also download the transcript as a .txt file. Only text subtitle formats work. Image-based subtitles (.sub/.idx, Blu-ray .sup) and video files cannot be read. VTT to PDF also reads SRT files, skips NOTE, STYLE and REGION blocks, and shows speaker names when the file uses voice tags.
SVG
SVG to PDF accepts several SVG files and makes one PDF or one PDF per file in a ZIP. Simple shapes with solid colors become vector paths. Files with text, gradients, patterns, filters, masks, clipping or embedded images are placed as a 300 dpi image, and the tool tells you which files were saved as images and why. For vector text, convert the text to outlines in your design program first. Fonts that the SVG loads from the internet are not available, and colors are saved as RGB.
Base64
Base64 to PDF decodes a pasted Base64 string, a data URI or a .txt file with Base64 text. If the data is a PDF, it is saved byte for byte. JPEG, PNG, GIF and WEBP images are placed on an A4 page, and Base64 text becomes a PDF document. Other data, such as ZIP or Word files, is not converted and you get an error instead of a broken PDF. Damaged PDF data is still saved, with a warning.
Camera
Camera to PDF builds a PDF from photos you take with your phone or webcam, or from JPG, PNG and WEBP photos you add. You can rotate, reorder and remove pages, and choose the page size, margins and image quality. It has no automatic edge detection, perspective correction, cropping or text recognition, so hold the camera straight above the page in good light. The PDF is made of pictures and is not searchable: run it through OCR PDF if you need that. The browser asks for permission to use the camera, and this works only on secure (https) pages.
Can you select the text in the PDF?
This depends on the tool and on the script of your text. It surprises many people, so check this table before you rely on searching or copying from the result.
| Tool | Latin, Greek and Cyrillic text | Arabic, Hebrew, Chinese, Japanese, Korean, Indic text |
|---|---|---|
| Word to PDF, PowerPoint to PDF | Text stays selectable and searchable | |
| Excel to PDF | Not stated on the tool page: test a short sample if you need to search the PDF | |
| Text, Text Editor, Markdown, CSV, TSV, JSON, YAML, INI, SRT, VTT | Selectable and searchable | Laid out correctly, but saved as page images |
| XML to PDF | Selectable and searchable | Not displayed correctly, and a warning is shown |
| HTML to PDF | Every page is saved as a picture, in any script | |
| SVG to PDF | Files with text are saved as images | |
| Camera to PDF | Pictures only; use OCR PDF to make it searchable | |
"Saved as page images" means the right-to-left lines and the letter shapes look correct, but you cannot select, copy or search the text, and emoji are also drawn as images in most of these tools. If you need selectable Arabic or Chinese text, start from a Word document and use Word to PDF. If you already have a PDF made of images, OCR PDF adds a text layer.
Which tools upload your file?
- Our server: Word to PDF, Excel to PDF, PowerPoint to PDF and Word URL to PDF. Word, Excel and PowerPoint send the file over an encrypted connection and delete it right after conversion; Word URL to PDF downloads the document from your link and deletes it and the PDF as soon as the PDF has been sent to your browser. Files left behind by an interrupted conversion are removed after about one hour.
- Google: Google Sheets to PDF. Google creates the PDF and sends it straight to your browser; it does not pass through our server.
- Your browser: all the other tools in this guide. The file is processed on your device and is not uploaded. The page loads the fonts it needs from our site.
If a document is confidential, choose a browser tool where one fits, or save the document in a format such as Markdown, CSV or plain text and convert that. When you do use a server tool, remember that the file leaves your device for the time of the conversion.
A sensible order
- Identify the format of your file in the first table.
- Use the original source, not a copy that has already been converted or exported.
- Check the options before converting: page size, orientation, and the layout of tables and sheets.
- Look through the PDF at full size, especially fonts, wide tables and non-Latin text.
- Compress the PDF last with Compress PDF if it must be smaller.