Science, Tech, Math › Computer Science Best Practices for Using PDFs on Web Pages Designing with PDF files in mind Print Lumina Images / Getty Images Science, Tech, Math PHP Programming Perl Python Java Programming Javascript Programming Delphi Programming C & C++ Programming Ruby Programming Visual Basic View More By Jennifer Kyrnin Jennifer Kyrnin Writer University of California University of Washington Jennifer Kyrnin is a professional web developer who assists others in learning web design, HTML, CSS, and XML. Learn about our Editorial Process Updated on February 20, 2020 PDF files or Acrobat Portable Document Format files are a tool for web designers, but sometimes they can become a bane of Web customers as not all Web designers follow good usability when including PDFs in their Web pages. The following best practices will help you create a website that uses PDFs in an effective way without annoying your readers or driving them to find the content they want elsewhere. Design Your PDFs Well Read More The Easy Way to Add a PDF to Your Website By Jennifer Kyrnin Small PDFs are Good PDFs — Just because a PDF can be made of any Word document doesn't mean that it shouldn't follow the same rules of any other Web page or a downloadable file. If you're creating a PDF for your customers to read online you should make it small. No more than 30-40KB. Most browsers need to download the full PDF before they can render it, so anything larger will take a long time to download, and your readers might just hit the back button and leave rather than wait for it. Optimize PDF Images — Just like with Web pages, PDFs that have images in them should use images that are optimized for the Web. If you don't optimize the images, the PDF will be much larger and thus slower to download. Practice Good Web Writing in Your PDF Files — Just because the content is in a PDF doesn't mean you can forgo good writing. And if the document is intended to be read in Acrobat Reader or some other online device, then the same rules for Web writing apply to your PDF. If the PDF is intended to be printed, then you can write for a print audience, but bear in mind that some people will still want to read your PDF online if only to save paper. Make the Font Legible — Unless you know that your core audience is kids under 18, you should make the font larger than your first impulse. While it is possible to zoom in on PDF documents in many readers, not all users know how to do this. It's better to have your font size legible from the get-go. Ask your parent or grandparent to read the document with the default font size if you're not sure if it's big enough. Include Navigation in the PDF — While most readers include some way to see an overview of the PDF document if you include a clickable table of contents, forward and back buttons, and other navigation you'll have a PDF that is much easier to use. If you make that navigation similar to your site navigation, you'll even have some branding built-in. Design Your Site to Handle the PDFs Always Indicate a PDF Link — Don't expect your readers to look at the link location before they click - tell them upfront that the link they are about to click is a PDF. Even when the browser opens a PDF inside the Web browser window, it can be a jarring experience for customers. Usually, the PDF is in a different design style from the website and this can confuse people. Letting them know they're going to open a PDF is just courteous. And then they can right-click to download and print the PDF if they want to. Use PDFs as an Alternative — PDF files make a great alternative to Web pages. Use them for pages that people might want to print or to provide an easier way to look at catalogs or forms. Just don't use them as the only way to get at that catalog or form unless you have a very specific reason for it. For example, some web store owners may have an online, HTML catalog but also a PDF catalog that can be passed to shoppers via email. Use PDFs Appropriately — Yes, PDFs can be a fast way to get content that's written in Word documents up onto a website. But, honestly, you can use a tool like Dreamweaver to convert the Word document to HTML just as quickly — and then you can add your site navigation and functionality. Many people are turned off by websites where only the front page is HTML and the rest of the links are PDFs. Below I'll provide some appropriate uses for PDF files. Appropriate Uses of PDF Files on Web Pages There are many great reasons to use PDFs, here are some ways to use them that won't annoy your readers, but instead will help them: Regulated forms — If your website points to forms that must be displayed in a specific way due to government or other regulation, a PDF file is a great solution. You can even use Acrobat to make it easier to fill out. Plus, anyone familiar with the printed form will be instantly comfortable with the online version. Documents for printing — If you're providing documents that need to be printed, you can provide them as PDFs. Securing documents — You can put locks on PDFs to prevent people from reading them. Keep in mind that you can do other things with HTML to protect your documents and locking PDFs can just end up annoying people, especially if they forget the password or are otherwise supposed to have access but don't. Document downloads — If you have long documents that you provide on your website, using PDFs is much better than the Word document itself. Readers can't modify the PDF like they can the Word document, and you can be sure that people on various types of computers will be able to open and use them. Cite this Article Format mla apa chicago Your Citation Kyrnin, Jennifer. "Best Practices for Using PDFs on Web Pages." ThoughtCo, Apr. 5, 2023, thoughtco.com/pdf-best-practices-3469170. Kyrnin, Jennifer. (2023, April 5). Best Practices for Using PDFs on Web Pages. Retrieved from https://www.thoughtco.com/pdf-best-practices-3469170 Kyrnin, Jennifer. "Best Practices for Using PDFs on Web Pages." ThoughtCo. https://www.thoughtco.com/pdf-best-practices-3469170 (accessed April 25, 2024). copy citation