{"id":323,"date":"2026-08-14T01:04:29","date_gmt":"2026-08-14T01:04:29","guid":{"rendered":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/?post_type=knowledgebase&#038;p=323"},"modified":"2026-08-14T03:22:31","modified_gmt":"2026-08-14T03:22:31","slug":"the-opub-file-format","status":"publish","type":"knowledgebase","link":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/db\/introduction\/the-opub-file-format\/","title":{"rendered":"The .opub File Format"},"content":{"rendered":"<h2 class=\"western\"><span style=\"color: #007670;\">Document Basics &amp; <\/span><span id=\"Frame4\" dir=\"ltr\"><\/span><span style=\"color: #007670;\">The <\/span><span style=\"font-size: 18pt; color: #0f5a53;\"><span style=\"font-family: Courier New, sans-serif;\"><b>.opub <\/b><\/span><\/span><span style=\"color: #007670;\">File Format<\/span><\/h2>\n<p class=\"western\">Open Publisher uses the <span style=\"color: #c7244d;\"><span style=\"font-family: Courier New, sans-serif;\">.opub<\/span><\/span> file extension as its native document format. When you save your work, your entire publication is written to a single, portable <span style=\"color: #c7244d;\"><span style=\"font-family: Courier New, sans-serif;\">.opub<\/span><\/span> file that you can store anywhere on your computer.<\/p>\n<h3 class=\"western\"><span style=\"color: #007670;\">Key Things to Know About the .opub Format<\/span><\/h3>\n<h3 class=\"western\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-339\" src=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/opub.webp\" alt=\"the .opub Format\" width=\"186\" height=\"224\" srcset=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/opub.webp 464w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/opub-249x300.webp 249w\" sizes=\"auto, (max-width: 186px) 100vw, 186px\" \/><\/h3>\n<ul>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><b>Everything is stored locally:<\/b> The file stores all of your pages, custom ruler origins, page notes, margin settings, master page overrides, and Theme Studio preferences.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><b>Double-click to open:<\/b> On all supported operating systems, simply double-clicking an <span style=\"color: #c7244d;\"><span style=\"font-family: Courier New, sans-serif;\">.opub<\/span><\/span> file automatically launches Open Publisher and loads your document.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><b>Backwards compatible:<\/b> Open Publisher continues to fully support its older <span style=\"color: #c7244d;\"><span style=\"font-family: Courier New, sans-serif;\">.json<\/span><\/span> save files. Both file types are recognized and loaded seamlessly.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><b>AES-GCM Encryption:<\/b> The format fully supports native password protection, saving your document as a secure, encrypted binary blob if you choose to lock it.<\/span><\/p>\n<\/li>\n<\/ul>\n<h3 class=\"western\"><span style=\"color: #007670;\">Creating, Saving, &amp; Opening Documents<img loading=\"lazy\" decoding=\"async\" class=\"wp-image-251 alignright\" src=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/saveOPUB-1.webp\" alt=\"\" width=\"344\" height=\"243\" srcset=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/saveOPUB-1.webp 982w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/saveOPUB-1-300x212.webp 300w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/saveOPUB-1-768x544.webp 768w\" sizes=\"auto, (max-width: 344px) 100vw, 344px\" \/><\/span><\/h3>\n<ul>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><b>Creating a New Document:<\/b> Go to <strong>File &gt; New<\/strong> to open the template browser. From here, you can select from a wide range of professionally designed templates or choose a standard blank canvas size.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><b>Saving Your Work:<\/b> Press <strong>Ctrl+S<\/strong> (Windows\/Linux) or <strong>Cmd+S<\/strong> (macOS). Open Publisher cleverly intercepts this keyboard shortcut at the application level and routes it directly to its internal save engine, downloading your file without triggering the browser&#8217;s default &#8220;Save Page As&#8221; dialog.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><b>Drag-and-Drop Loading:<\/b> You can drag an <span style=\"color: #c7244d;\"><span style=\"font-family: Courier New, sans-serif;\">.opub<\/span><\/span> or <span style=\"color: #c7244d;\"><span style=\"font-family: Courier New, sans-serif;\">.json<\/span><\/span> file directly onto the Open Publisher canvas. The smart drag-and-drop router instantly detects the file and restores your working session.<\/span><\/p>\n<\/li>\n<\/ul>\n<h3 class=\"western\"><span style=\"color: #007670;\">Importing Legacy Files (Microsoft Publisher &amp; Word)<\/span><\/h3>\n<table style=\"width: 97.5617%; height: 227px;\" width=\"624\" cellspacing=\"0\" cellpadding=\"1\">\n<tbody>\n<tr style=\"height: 24px;\" valign=\"top\">\n<td style=\"width: 35.6452%; height: 24px;\" bgcolor=\"#007670\" width=\"219\" height=\"24\"><span style=\"font-size: small;\"><span style=\"color: #ffffff;\"><b>Format<\/b><\/span><\/span><\/td>\n<td style=\"width: 160.119%; height: 24px;\" bgcolor=\"#007670\" width=\"399\"><span style=\"font-size: small;\"><span style=\"color: #ffffff;\"><b>How<\/b><\/span> <span style=\"color: #ffffff;\"><b>it<\/b><\/span> <span style=\"color: #ffffff;\"><b>imports<\/b><\/span><\/span><\/td>\n<\/tr>\n<tr style=\"height: 44px;\" valign=\"top\">\n<td style=\"width: 35.6452%; height: 44px;\" width=\"219\" height=\"44\"><span style=\"font-size: small;\"><b>`.opub`<\/b> <b>\/<\/b> <b>`.json`<\/b><\/span><\/td>\n<td style=\"width: 160.119%; height: 44px;\" width=\"399\"><span style=\"font-size: small;\">Native format &#8211; full fidelity, restores your entire working session exactly.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 45px;\" valign=\"top\">\n<td style=\"width: 35.6452%; height: 45px;\" width=\"219\" height=\"45\"><span style=\"font-size: small;\"><b>Images<\/b> <b>(`.png`,<\/b> <b>`.jpg`,<\/b> <b>`.gif`,<\/b> <b>`.webp`,<\/b> <b>etc.)<\/b><\/span><\/td>\n<td style=\"width: 160.119%; height: 45px;\" width=\"399\"><span style=\"font-size: small;\">Dropped or opened images are placed directly onto the current page canvas.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 45px;\" valign=\"top\">\n<td style=\"width: 35.6452%; height: 45px;\" width=\"219\" height=\"45\"><span style=\"font-size: small;\"><b>Publisher<\/b> <b>Files<\/b> <b>(`.pub`,<\/b> <b>`.pubx`)<\/b><\/span><\/td>\n<td style=\"width: 160.119%; height: 45px;\" width=\"399\"><span style=\"font-size: small;\">Experimental import of legacy Microsoft Publisher files. Layout fidelity varies.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 44px;\" valign=\"top\">\n<td style=\"width: 35.6452%; height: 44px;\" width=\"219\" height=\"44\"><span style=\"font-size: small;\"><b>Excel<\/b> <b>Spreadsheets<\/b> <b>(`.xlsx`,<\/b> <b>`.xls`)<\/b><\/span><\/td>\n<td style=\"width: 160.119%; height: 44px;\" width=\"399\"><span style=\"font-size: small;\">Rendered as fully interactive, movable, resizable table objects (see Section 5).<\/span><\/td>\n<\/tr>\n<tr style=\"height: 24px;\" valign=\"top\">\n<td style=\"width: 35.6452%; height: 25px;\" width=\"219\" height=\"24\"><span style=\"font-size: small;\"><b>Word<\/b> <b>Documents<\/b> <b>(`.doc`,<\/b> <b>`.docx`)<\/b><\/span><\/td>\n<td style=\"width: 160.119%; height: 25px;\" width=\"399\"><span style=\"font-size: small;\">Two import modes available (see below).<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 class=\"western\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-332\" src=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-14-021041-e1786669904284.png\" alt=\"import Microsoft Publisher and Word files\" width=\"384\" height=\"275\" srcset=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-14-021041-e1786669904284.png 411w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-14-021041-e1786669904284-300x215.png 300w\" sizes=\"auto, (max-width: 384px) 100vw, 384px\" \/><\/h3>\n<p class=\"western\">You can directly import Microsoft Publisher files (<span style=\"color: #c7244d;\"><span style=\"font-family: Courier New, sans-serif;\">.pub<\/span><\/span>, <span style=\"color: #c7244d;\"><span style=\"font-family: Courier New, sans-serif;\">.pubx<\/span><\/span>) and Microsoft Word documents (<span style=\"color: #c7244d;\"><span style=\"font-family: Courier New, sans-serif;\">.doc<\/span><\/span>, <span style=\"color: #c7244d;\"><span style=\"font-family: Courier New, sans-serif;\">.docx<\/span><\/span>). When opening these files, a pre-flight menu offers two import modes:<\/p>\n<ul>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><b>Editable Text Mode:<\/b> Extracts your layout, text, and fonts into editable Open Publisher text boxes. It uses an optical color scanner to read the original text colors directly from the file&#8217;s PDF layers. This is best for documents you want to continue editing.<\/span><\/p>\n<\/li>\n<li>\n<p align=\"left\"><span style=\"font-size: small;\"><b>Flattened Image Mode (Safe Mode):<\/b> Renders the document as a high-resolution, pixel-perfect background image. While less editable, it guarantees 100% layout accuracy. Recommended for complex medical tables or forms where visual fidelity matters more than editability.<\/span><\/p>\n<\/li>\n<\/ul>\n<p class=\"western\"><em>Note: You can also drag-and-drop Excel spreadsheets (<span style=\"color: #c7244d;\"><span style=\"font-family: Courier New, sans-serif;\">.xlsx<\/span><\/span>, <span style=\"color: #c7244d;\"><span style=\"font-family: Courier New, sans-serif;\">.xls<\/span><\/span>) to open the interactive Table Import Wizard, or drop standard images directly onto the canvas.<\/em><\/p>\n<dl>\n<dd>\n<dl>\n<dd>\n<dl>\n<dd><\/dd>\n<\/dl>\n<\/dd>\n<\/dl>\n<\/dd>\n<\/dl>\n<h3 class=\"western\"><span style=\"color: #007670;\">Document Properties &amp; Metadata<img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-326\" src=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-14-020352.png\" alt=\"Document Properties &amp; Metadata\" width=\"214\" height=\"194\" srcset=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-14-020352.png 768w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-14-020352-300x271.png 300w\" sizes=\"auto, (max-width: 214px) 100vw, 214px\" \/><\/span><\/h3>\n<p class=\"western\">Open Publisher allows you to embed rich metadata directly into your <span style=\"color: #c7244d;\"><span style=\"font-family: Courier New, sans-serif;\">.opub<\/span><\/span> file. Go to <strong>File &gt; Info &gt; Properties<\/strong> to set the document&#8217;s <strong>Author<\/strong>, <strong>Company<\/strong>, <strong>Subject<\/strong>, and <strong>Keywords<\/strong>. This information is stored within the save file and improves context and searchability for collaborators.<\/p>\n<h2 class=\"western\"><span style=\"color: #007670;\">Creating a New Document<img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-348\" src=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-14-041638.png\" alt=\"File menu showing New and Templates options\" width=\"254\" height=\"225\" srcset=\"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-14-041638.png 508w, http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-content\/uploads\/2026\/08\/Screenshot-2026-08-14-041638-300x265.png 300w\" sizes=\"auto, (max-width: 254px) 100vw, 254px\" \/><\/span><\/h2>\n<p class=\"western\">To start a fresh publication, go to <strong>File &gt; New<\/strong>. This opens the template browser, where you can select from a range of professionally designed publication templates (newsletters, flyers, posters, business cards, etc.) or choose a blank canvas at a standard size. Once selected, a new, untitled document opens at the specified dimensions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Document Basics &amp; The .opub File Format Open Publisher uses the .opub file extension as its native document format. When you save your work, your entire publication is written to a single, portable .opub file that you can store anywhere on your computer. Key Things to Know About the .opub Format Everything is stored locally: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":342,"comment_status":"open","ping_status":"open","template":"","knowledgebase_cat":[8],"class_list":["post-323","knowledgebase","type-knowledgebase","status-publish","has-post-thumbnail","hentry","knowledgebase_cat-introduction"],"_links":{"self":[{"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/knowledgebase\/323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/comments?post=323"}],"version-history":[{"count":32,"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/knowledgebase\/323\/revisions"}],"predecessor-version":[{"id":363,"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/knowledgebase\/323\/revisions\/363"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/media\/342"}],"wp:attachment":[{"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/media?parent=323"}],"wp:term":[{"taxonomy":"knowledgebase_cat","embeddable":true,"href":"http:\/\/acr.floydcraft.co.uk\/openpublisher\/wp-json\/wp\/v2\/knowledgebase_cat?post=323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}