{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-pdf-size-65457483dc36","title":"Audit Linked PDF File Sizes for SEO","summary":"Ensure linked PDFs are under 60 MB to improve crawlability and search visibility by checking their file size and compressing or optimizing them if necessary.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-pdf-size-65457483dc36","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-pdf-size-65457483dc36","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-pdf-size-65457483dc36.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-pdf-size-65457483dc36\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"Before auditing, ensure that the website's PDFs are accessible and that the server returns the correct Content-Type header for PDF files. If compression is required, use tools like Adobe Acrobat, Ghostscript, or Smallpdf. For PDFs that cannot be compressed sufficiently, create an HTML landing page with the same content and link the PDF as a download.","instructions":"---\nname: pdf-size\ndescription: \"Use when auditing a site that publishes downloadable PDFs (reports, white papers, legal documents, manuals). Applies to any site where PDFs are linked as indexable content resources.\"\nmetadata:\n  category: seo\n  priority: medium\n  difficulty: intermediate\n  estimatedTime: \"15\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/seo\/pdf-size\n---\n\n# Keep linked PDFs under 60 MB\n\nPDFs larger than Googlebot's download threshold are partially crawled or skipped, meaning their content may not appear in search results even when linked from well-indexed pages.\n\n## Quick Reference\n\n- Googlebot truncates files larger than 15 MB for crawling; 60 MB is a documented upper limit\n- Large PDFs may be partially indexed or skipped entirely\n- Compress PDFs before publishing: use PDF optimisation tools to reduce file size\n- Add HTML landing pages alongside PDFs to ensure content is indexable\n\n## Check\n\nFind all <a href='*.pdf'> links on the site. For each linked PDF, perform a HEAD request and check the Content-Length header. Flag any PDF exceeding 10 MB (recommend compression) or 15 MB (likely to be truncated by Googlebot).\n\n## Fix\n\nCompress large PDFs using a PDF optimisation tool (Adobe Acrobat, Ghostscript, or Smallpdf). Remove embedded high-resolution images, fonts, and metadata not required for reading. If compression is insufficient, create an HTML page with the same content as the primary indexable version, and offer the PDF as a download.\n\n## Explain\n\nGooglebot downloads and indexes the content of PDFs linked from your site. However, it has a file size limit for downloads \u2014 files beyond this limit are partially indexed or skipped. Large PDFs also slow down crawling and consume crawl budget. Keeping PDFs small ensures their full content appears in search results.\n\n## Code Review\n\nFind all <a href> links with .pdf extension. For each PDF URL, perform a HEAD request and check Content-Length header value. Flag PDFs exceeding 10,485,760 bytes (10 MB) for compression review. Flag PDFs exceeding 15,728,640 bytes (15 MB) as at-risk for partial indexing. Verify PDF URLs return 200 status and appropriate Content-Type: application\/pdf header.\n\n---\n\nFor full implementation details, code examples, and framework-specific guidance,\nsee `references\/rule.md`.\n\nRule page: https:\/\/frontendchecklist.io\/rules\/seo\/pdf-size\n","use_cases":["Audit a website that publishes downloadable PDFs (reports, white papers, legal documents, manuals) for SEO compliance.","Ensure all linked PDFs are under 60 MB to avoid partial indexing or skipping by Googlebot."],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/pdf-size\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-24","created_at":"2026-11-23T05:11:41.000000Z","updated_at":"2026-11-24T07:12:05.000000Z","seo_title":"Audit PDF file sizes for SEO","seo_description":"Optimize linked PDFs under 60 MB to improve crawlability and search visibility for SEO.","seo_keywords":["audit PDF file sizes","optimize PDF for SEO","SEO PDF file size check","Googlebot PDF crawl limit"]}}