PDFVela — pdfvela.com

How to put a PDF on a website

Link to the file, show it inside the page, or turn it into a normal web page — and how to choose between them

By · Updated November 16, 2026

Three ways to put a PDF on a page

There are three common ways to show a PDF to visitors, and each one suits a different kind of document:

WayWhat the visitor seesBest for
Download linkA link that opens or downloads the PDFForms, price lists, documents people print or keep
Embedded viewerThe PDF inside a frame on your pageBrochures and menus where the layout matters
Web page (HTML)Normal text, headings and picturesArticles, reports, guides and anything you want found in search

You can also combine them: publish the text as a web page and add "Download the PDF" at the end for people who want to print it.

Before you upload: prepare the file

  • Make it small. Large scans and photos make a PDF slow to open, especially on mobile data. Run it through Compress PDF first.
  • Give it a clear file name. A name like summer-menu-2026.pdf tells visitors and search engines what the file is. Avoid spaces and names like scan0034.pdf.
  • Fill in the title. Browsers show the document title on the tab. Set it with Edit PDF metadata.
  • Remove what should stay private. Black out personal details with Redact PDF — a black box drawn on top is not enough, the text underneath can still be copied.
  • Make scanned pages searchable. A scan is only a picture. OCR PDF adds a text layer so the words can be found and copied.

Option 1: link to the PDF

Upload the file to your site (in WordPress: Media → Add New, then copy the file URL) and link to it from any page, for example "Download our price list (PDF, 1.2 MB)". Mentioning "PDF" and the size in the link text tells visitors what will happen when they click.

This is the simplest way and works in every browser. Its weakness is that the visitor leaves your page, and on a phone the PDF opens as a separate, often hard to read file.

Option 2: show the PDF inside the page

Most desktop browsers can show a PDF inside a page. In a page builder, look for a "PDF", "File" or "Embed" block — WordPress's File block, for example, has an option to show an inline embed. In plain HTML, an iframe does the same job: <iframe src="/files/menu.pdf" width="100%" height="700" title="Summer menu"></iframe>.

Three things to keep in mind:

  • Phones are the weak spot. Many mobile browsers do not show the frame at all. Put a plain "Open the PDF" link right under it.
  • Give the frame a title. Screen readers announce it, so describe what is inside.
  • Search engines treat the PDF as a separate file. The text inside the frame does not count as part of your page.

Option 3: turn the PDF into a web page

If the PDF is mainly text — an article, a report, a manual, a policy — a real web page is usually the better choice. It fits every screen, loads fast, and the text belongs to your page.

  1. Open PDF to HTML and choose your PDF. It is converted in your browser and is not uploaded.
  2. Choose Continuous text for one flowing article, or Keep the PDF pages if readers refer to page numbers.
  3. Download the .html file and open it in a browser to check the headings and tables.
  4. Copy the content into your website. In WordPress, open the HTML file in a text editor, copy the part between the body tags and paste it into a Custom HTML block — or paste the text from the browser into the editor and let it keep the headings.

The pictures are built into the HTML file. If you publish many pictures, it is tidier to upload them to your media library and replace them there.

Prefer a document people can edit instead? PDF to Word gives a .docx file you can open in Word or Google Docs.

Which one should you choose?

  • The layout is the point (a designed menu, a poster, a brochure): embed it and add a download link.
  • People will print or fill it in (a form, a contract, a price list): a download link is enough.
  • People will read it (news, reports, guides, instructions): turn it into a web page and offer the PDF as an extra.

Ready to try it? It is free and your file stays on your device.

Open PDF to HTML

PDFs on websites

Which way is best for search engines?

Search engines can index PDF files, but a normal HTML page usually works better. It has the site's menu and links, loads quickly on phones and can be shared like any other page. If being found in search matters, publish the content as a web page and offer the PDF as an extra download.

Why does my embedded PDF not show on a phone?

Many mobile browsers do not display a PDF inside a page. They show an empty box or a download button instead. Always add a plain link to the file under the embedded viewer, or use a web page version for visitors on phones.

How large can the PDF be?

There is no fixed limit, but every visitor has to download the whole file. Keep PDFs for the web as small as you can — a few megabytes at most for a document that people open often. Compress the PDF before you upload it.

Is my PDF uploaded when I convert it to HTML on PDFVela?

No. The PDF to HTML tool runs in your browser and writes the HTML file on your own device. You decide later what to upload to your own website.

Can I stop people downloading the PDF?

Not really. Anything a browser can show, a visitor can save. If the document must not be copied, do not publish it; if you only want to discourage copying, add a watermark before uploading.