{"id":405844,"date":"2026-11-16T06:58:22","date_gmt":"2026-11-16T06:58:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/toolszu-pdf-embedder-viewer\/"},"modified":"2026-11-16T06:57:57","modified_gmt":"2026-11-16T06:57:57","slug":"toolszu-pdf-embedder-viewer","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/toolszu-pdf-embedder-viewer\/","author":23458360,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.4","requires":"6.3","requires_php":"7.4","requires_plugins":null,"header_name":"Toolszu PDF Embedder & Viewer","header_author":"Toolszu","header_description":"Show PDFs inside your posts and pages with a fast, mobile-friendly viewer: search, zoom, thumbnails, full screen and download. Plus a \"Save as PDF\" button for your articles.","last_updated":"2026-11-16 06:57:57","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/toolszu.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":59,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"toolszu","date":"2026-11-16 06:57:57","revision":3804362}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3804362,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3804362,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3804362,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3804362,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"toolszu\/save-pdf":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"toolszu\/save-pdf","title":"Save as PDF Button","category":"widgets","icon":"download","description":"A button that lets readers save or print this article as a clean PDF.","keywords":["pdf","print","download","save","toolszu"],"textdomain":"toolszu-pdf-embedder-viewer","usesContext":["postId"],"attributes":{"label":{"type":"string","default":""}},"supports":{"html":false,"spacing":{"margin":true}},"editorScript":"file:.\/editor.js","editorStyle":"file:.\/editor.css"},"toolszu\/pdf-viewer":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"toolszu\/pdf-viewer","title":"PDF Viewer","category":"media","icon":"media-document","description":"Show a PDF with search, zoom, page thumbnails, full screen and download.","keywords":["pdf","document","embed","viewer","toolszu"],"textdomain":"toolszu-pdf-embedder-viewer","attributes":{"id":{"type":"number","default":0},"url":{"type":"string","default":""},"title":{"type":"string","default":""},"height":{"type":"string","default":""},"zoom":{"type":"string","default":""},"page":{"type":"number","default":1},"hide":{"type":"array","default":[],"items":{"type":"string"}}},"supports":{"html":false,"align":["wide","full"],"spacing":{"margin":true}},"editorScript":"file:.\/editor.js","editorStyle":"file:.\/editor.css"}},"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3804362,"resolution":"1","location":"assets","locale":"","width":1600,"height":1129},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3804362,"resolution":"2","location":"assets","locale":"","width":1600,"height":1129},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3804362,"resolution":"3","location":"assets","locale":"","width":1600,"height":1197},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3804362,"resolution":"4","location":"assets","locale":"","width":1600,"height":1089},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3804362,"resolution":"5","location":"assets","locale":"","width":1600,"height":1220},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3804362,"resolution":"6","location":"assets","locale":"","width":1600,"height":1198}},"screenshots":{"1":"The PDF viewer with page thumbnails.","2":"Search inside a PDF with highlighted matches.","3":"The viewer on a phone.","4":"The PDF Viewer block in the editor.","5":"The clean print copy used by \"Save as PDF\".","6":"Settings."}},"plugin_section":[],"plugin_tags":[8470,1764,27003,26896,66418],"plugin_category":[50],"plugin_contributors":[257091],"plugin_business_model":[],"class_list":["post-405844","plugin","type-plugin","status-publish","hentry","plugin_tags-document","plugin_tags-pdf","plugin_tags-pdf-embed","plugin_tags-pdf-viewer","plugin_tags-save-as-pdf","plugin_category-media","plugin_contributors-toolszu","plugin_committers-toolszu"],"banners":{"banner":"https:\/\/ps.w.org\/toolszu-pdf-embedder-viewer\/assets\/banner-772x250.png?rev=3804362","banner_2x":"https:\/\/ps.w.org\/toolszu-pdf-embedder-viewer\/assets\/banner-1544x500.png?rev=3804362","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/toolszu-pdf-embedder-viewer\/assets\/icon-128x128.png?rev=3804362","icon_2x":"https:\/\/ps.w.org\/toolszu-pdf-embedder-viewer\/assets\/icon-256x256.png?rev=3804362","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/toolszu-pdf-embedder-viewer\/assets\/screenshot-1.png?rev=3804362","caption":"The PDF viewer with page thumbnails."},{"src":"https:\/\/ps.w.org\/toolszu-pdf-embedder-viewer\/assets\/screenshot-2.png?rev=3804362","caption":"Search inside a PDF with highlighted matches."},{"src":"https:\/\/ps.w.org\/toolszu-pdf-embedder-viewer\/assets\/screenshot-3.png?rev=3804362","caption":"The viewer on a phone."},{"src":"https:\/\/ps.w.org\/toolszu-pdf-embedder-viewer\/assets\/screenshot-4.png?rev=3804362","caption":"The PDF Viewer block in the editor."},{"src":"https:\/\/ps.w.org\/toolszu-pdf-embedder-viewer\/assets\/screenshot-5.png?rev=3804362","caption":"The clean print copy used by \"Save as PDF\"."},{"src":"https:\/\/ps.w.org\/toolszu-pdf-embedder-viewer\/assets\/screenshot-6.png?rev=3804362","caption":"Settings."}],"raw_content":"<!--section=description-->\n<p>Toolszu PDF Embedder &amp; Viewer shows any PDF right inside your pages, so visitors can read it without downloading anything. It works on phones, tablets and computers, and it is completely free: no paid version, no locked features and no account.<\/p>\n\n<h4>The viewer<\/h4>\n\n<ul>\n<li><strong>Smooth scrolling<\/strong> through every page, sharp on high-resolution screens.<\/li>\n<li><strong>Search<\/strong> inside the PDF, with highlighted matches and next\/previous.<\/li>\n<li><strong>Zoom<\/strong>: automatic, page width, whole page, or 25% to 400%.<\/li>\n<li><strong>Page thumbnails<\/strong> in a side panel.<\/li>\n<li><strong>Full screen<\/strong>, including on iPhone.<\/li>\n<li><strong>Download<\/strong>, <strong>print<\/strong> and <strong>open in a new tab<\/strong> buttons. Turn any of them off.<\/li>\n<li><strong>Selectable text<\/strong> and <strong>working links<\/strong> inside the PDF, including links to other pages of the same PDF.<\/li>\n<li><strong>Password-protected PDFs<\/strong> ask for the password.<\/li>\n<li><strong>Light, dark or automatic theme<\/strong>, plus your own accent color.<\/li>\n<li><strong>Keyboard shortcuts<\/strong>: Page Up \/ Page Down, + and -, Ctrl+F to search.<\/li>\n<\/ul>\n\n<h4>Three ways to add a PDF<\/h4>\n\n<ul>\n<li><strong>Block editor<\/strong>: add the \"PDF Viewer\" block and choose a file from the Media Library, upload one, or paste a link.<\/li>\n<li><strong>Any editor<\/strong>: paste a link to a PDF on its own line. It turns into a viewer automatically.<\/li>\n<li><strong>Shortcode<\/strong>: <code>[toolszu_pdf id=\"123\"]<\/code> or <code>[toolszu_pdf url=\"https:\/\/example.com\/file.pdf\"]<\/code>. Every PDF in the Media Library shows its ready-to-copy shortcode.<\/li>\n<\/ul>\n\n<h4>Save as PDF for your articles<\/h4>\n\n<p>Add a \"Save as PDF\" button to your posts. It opens a clean copy of the article, with the title, featured image, content and a link to the original, without menus, sidebars or ads, and the browser's print window, where readers choose \"Save as PDF\". Great for recipes, guides, tutorials and documentation.\n* Add it automatically to posts, pages or any public content type, before or after the content.\n* Or place it yourself with the \"Save as PDF Button\" block or the <code>[toolszu_save_pdf]<\/code> shortcode.\n* The print copy is hidden from search engines, so it never competes with your article.<\/p>\n\n<h4>Fast and private<\/h4>\n\n<ul>\n<li>The viewer loads only on pages that show a PDF, and the PDF engine loads only when the viewer scrolls into view.<\/li>\n<li>Long PDFs stay light: only the pages near the screen are drawn.<\/li>\n<li>No external services, no tracking and no cookies. PDFs are opened directly from your site.<\/li>\n<\/ul>\n\n<h4>Built on PDF.js<\/h4>\n\n<p>The viewer uses <a href=\"https:\/\/mozilla.github.io\/pdf.js\/\">PDF.js<\/a> by Mozilla, the same PDF engine used in Firefox, included in the plugin.<\/p>\n\n<h3>Source code<\/h3>\n\n<p>The PDF engine is PDF.js 6.5.438 by Mozilla, licensed under the Apache License 2.0, included unminified in <code>vendor\/pdfjs\/<\/code> with its JavaScript image decoders. Fonts that are not embedded in a PDF are shown with the visitor's system fonts. Source: https:\/\/github.com\/mozilla\/pdf.js<\/p>\n\n<!--section=installation-->\n<ol>\n<li>In WordPress go to <strong>Plugins &gt; Add New<\/strong>, search for \"Toolszu PDF Embedder\", then click <strong>Install Now<\/strong> and <strong>Activate<\/strong>.<\/li>\n<li>Edit a post, add the <strong>PDF Viewer<\/strong> block and choose your PDF.<\/li>\n<li>Optional: go to <strong>Settings &gt; Toolszu PDF<\/strong> to set the default height, zoom, toolbar buttons and theme, and to turn on the \"Save as PDF\" button.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20show%20a%20pdf%20from%20another%20website%3F\"><h3>Can I show a PDF from another website?<\/h3><\/dt>\n<dd><p>Only if that website allows it (this is called CORS). Many sites do not, and then the viewer shows a link to open the PDF instead. To be sure it works, upload the PDF to your Media Library.<\/p><\/dd>\n<dt id=\"can%20i%20stop%20people%20from%20downloading%20my%20pdf%3F\"><h3>Can I stop people from downloading my PDF?<\/h3><\/dt>\n<dd><p>You can hide the Download, Print and Open buttons. But anyone who can see a PDF can still save it, so do not publish files that must stay private.<\/p><\/dd>\n<dt id=\"does%20it%20work%20on%20phones%3F\"><h3>Does it work on phones?<\/h3><\/dt>\n<dd><p>Yes. The toolbar adapts to small screens, pages fit the screen width, and full screen also works on iPhone.<\/p><\/dd>\n<dt id=\"how%20do%20i%20change%20the%20size%20of%20one%20viewer%3F\"><h3>How do I change the size of one viewer?<\/h3><\/dt>\n<dd><p>Select the block and change the height in the block settings on the right. With the shortcode, add <code>height=\"600px\"<\/code> or <code>height=\"90vh\"<\/code>.<\/p><\/dd>\n<dt id=\"which%20shortcode%20options%20are%20there%3F\"><h3>Which shortcode options are there?<\/h3><\/dt>\n<dd><p>[toolszu_pdf url=\"\u2026\" title=\"\u2026\" height=\"800px\" zoom=\"page-width\" page=\"3\" download=\"no\" print=\"no\" search=\"no\" sidebar=\"no\" zoombar=\"no\" fullscreen=\"no\" open=\"no\"]<\/p><\/dd>\n<dt id=\"does%20%22save%20as%20pdf%22%20create%20the%20pdf%20on%20my%20server%3F\"><h3>Does \"Save as PDF\" create the PDF on my server?<\/h3><\/dt>\n<dd><p>No. It uses the browser's own \"Save as PDF\" option in the print window, so it works on every host and costs no server resources.<\/p><\/dd>\n<dt id=\"will%20it%20slow%20down%20my%20site%3F\"><h3>Will it slow down my site?<\/h3><\/dt>\n<dd><p>No. Nothing loads on pages without a PDF, and on pages with one, the PDF engine waits until the viewer is about to appear on screen.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"Show PDFs in your posts and pages with a fast, mobile-friendly viewer, and let readers save your articles as clean PDFs.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/405844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=405844"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/toolszu"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=405844"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=405844"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=405844"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=405844"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=405844"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=405844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}