Convert Files to PDF: Choose the Right Tool for Your Format

A Word file, a spreadsheet, a web page and a JSON file all become PDFs in different ways. Pick the tool for your format, check how your file is handled, and know what the result can and cannot do.

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 haveUseProcessed
Word, ODT, RTF or TXT documentWord to PDFOur server
Excel, ODS or CSV workbookExcel to PDFOur server
PowerPoint or ODP presentationPowerPoint to PDFOur server
A link to a Word file or Google DocWord URL to PDFOur server
A link to a Google SheetGoogle Sheets to PDFGoogle
HTML file or HTML codeHTML to PDFYour browser
Markdown fileMarkdown to PDFYour browser
Plain .txt fileText to PDFYour browser
Text you type or pasteText Editor to PDFYour browser
CSV tableCSV to PDFYour browser
TSV table or cells copied from a sheetTSV to PDFYour browser
JSON dataJSON to PDFYour browser
XML fileXML to PDFYour browser
YAML fileYAML to PDFYour browser
INI, CFG, CONF or PROPERTIES fileINI to PDFYour browser
SRT subtitlesSRT to PDFYour browser
WebVTT subtitles or captionsVTT to PDFYour browser
SVG drawingsSVG to PDFYour browser
A Base64 string or data URIBase64 to PDFYour browser
Pages photographed with a phone or webcamCamera to PDFYour 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.

ToolLayoutsLimits and things to know
CSV to PDFTable with striped, grid or plain styleFiles 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 PDFSame table options as CSVReads tab-separated files and cells pasted from Excel or Google Sheets; same limits as CSV
JSON to PDFFormatted code, or a table of key path, type and valueUp 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 PDFIndented XML, original text, or a simple listUp to 10 MB; invalid XML is reported before the PDF is made; XSLT stylesheets are not applied
YAML to PDFFormatted code, or a table of key path, type and valueUp to 30 MB; several documents in one file are supported; comments appear only in the code layout
INI to PDFFormatted code, or a table of section, key and valueUp 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.

ToolLatin, Greek and Cyrillic textArabic, Hebrew, Chinese, Japanese, Korean, Indic text
Word to PDF, PowerPoint to PDFText stays selectable and searchable
Excel to PDFNot 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, VTTSelectable and searchableLaid out correctly, but saved as page images
XML to PDFSelectable and searchableNot displayed correctly, and a warning is shown
HTML to PDFEvery page is saved as a picture, in any script
SVG to PDFFiles with text are saved as images
Camera to PDFPictures 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

  1. Identify the format of your file in the first table.
  2. Use the original source, not a copy that has already been converted or exported.
  3. Check the options before converting: page size, orientation, and the layout of tables and sheets.
  4. Look through the PDF at full size, especially fonts, wide tables and non-Latin text.
  5. Compress the PDF last with Compress PDF if it must be smaller.

Tools You May Need

Convert to PDF Guide – Questions

Which of these tools upload my file?

Four tools use our server: Word to PDF, Excel to PDF, PowerPoint to PDF and Word URL to PDF. Google Sheets to PDF lets Google create the PDF. All the other tools in this guide work in your browser and do not upload your file.

Why can I not select the text in my PDF?

Many of the browser tools save text in Arabic, Hebrew, Chinese, Japanese, Korean and Indic scripts, and emoji, as page images, and HTML to PDF saves every page as a picture. Latin, Greek and Cyrillic text from the text-based tools stays selectable. Use OCR PDF to add a text layer, or start from a Word document.

What is the difference between CSV to PDF and Excel to PDF?

CSV to PDF runs in your browser and prints a CSV table with options such as table style, header color, separator and encoding, for files up to 100 MB. Excel to PDF runs on our server and keeps the formatting, charts and images of a workbook. Use Excel to PDF for a finished workbook and CSV to PDF for raw data.

How do I convert a Google Doc or a Google Sheet?

For a Google Doc, set sharing to Anyone with the link can view and paste the link into Word URL to PDF. For a Google Sheet, paste its normal link into Google Sheets to PDF. 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.

Why do the fonts look different in my PDF?

Word to PDF and PowerPoint to PDF replace fonts that are not available on our server with a similar font, which can shift line breaks slightly. For a Word file, embedding the fonts in Word (Options, Save) avoids this.

Can I convert a web page by its address?

HTML to PDF does not accept web addresses: save the page as HTML first and open that file. Scripts do not run, so content created by JavaScript is missing. Word URL to PDF takes links to Word documents, not to ordinary web pages.

Ready to Make Your PDF?

Choose the tool for your file format. Most of these tools run in your browser, so nothing is uploaded; Word, Excel and PowerPoint conversion use our server.