{"id":334120,"date":"2026-07-06T12:06:12","date_gmt":"2026-07-06T12:06:12","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/download-to-docx\/"},"modified":"2026-07-06T12:06:03","modified_gmt":"2026-07-06T12:06:03","slug":"postora-export-for-docx","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/postora-export-for-docx\/","author":23525289,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.0","stable_tag":"1.1.0","tested":"7.0","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Postora Export for DOCX","header_author":"abdulrehmanseo","header_description":"Export WordPress posts and drafts to DOCX files from the post list or editor.","assets_banners_color":"7d6eb3","last_updated":"2026-07-06 12:06:03","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":27,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.0":{"tag":"1.1.0","author":"abdulrehmanseo","date":"2026-07-06 12:06:03"}},"upgrade_notice":{"1.1.0":"<p>Adds hardened local-image handling, resource limits, improved document formatting, and WordPress.org-ready metadata.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3597721,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3597721,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3597721,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3597721,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3597721,"resolution":"1","location":"assets","locale":"","width":1600,"height":900},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3597721,"resolution":"2","location":"assets","locale":"","width":1600,"height":900},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3597721,"resolution":"3","location":"assets","locale":"","width":1600,"height":1000}},"screenshots":{"1":"Download DOCX link in the Posts list.","2":"Download DOCX button in the post editor sidebar.","3":"Example exported Microsoft Word document."}},"plugin_section":[],"plugin_tags":[6587,568,4665,1859,6585],"plugin_category":[59],"plugin_contributors":[270323],"plugin_business_model":[],"class_list":["post-334120","plugin","type-plugin","status-publish","hentry","plugin_tags-docx","plugin_tags-download","plugin_tags-draft","plugin_tags-export","plugin_tags-word","plugin_category-utilities-and-tools","plugin_contributors-abdulrehmanseo","plugin_committers-abdulrehmanseo"],"banners":{"banner":"https:\/\/ps.w.org\/postora-export-for-docx\/assets\/banner-772x250.png?rev=3597721","banner_2x":"https:\/\/ps.w.org\/postora-export-for-docx\/assets\/banner-1544x500.png?rev=3597721","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/postora-export-for-docx\/assets\/icon-128x128.png?rev=3597721","icon_2x":"https:\/\/ps.w.org\/postora-export-for-docx\/assets\/icon-256x256.png?rev=3597721","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/postora-export-for-docx\/assets\/screenshot-1.png?rev=3597721","caption":"Download DOCX link in the Posts list."},{"src":"https:\/\/ps.w.org\/postora-export-for-docx\/assets\/screenshot-2.png?rev=3597721","caption":"Download DOCX button in the post editor sidebar."},{"src":"https:\/\/ps.w.org\/postora-export-for-docx\/assets\/screenshot-3.png?rev=3597721","caption":"Example exported Microsoft Word document."}],"raw_content":"<!--section=description-->\n<p>Postora Export for DOCX lets you export a WordPress post, including an unpublished draft, as a properly formatted Microsoft Word <code>.docx<\/code> file with one click.<\/p>\n\n<p>The export is generated securely on your own server. No content is sent to an external service, and no third-party PHP library is required.<\/p>\n\n<p><strong>Features<\/strong><\/p>\n\n<ul>\n<li>Download draft, pending, scheduled, private, and published posts.<\/li>\n<li>Export from the Posts list or the post editor.<\/li>\n<li>Include the title, status, author, last-modified date, categories, and featured image.<\/li>\n<li>Preserve headings, paragraphs, bold text, italic text, underline, links, lists, nested lists, blockquotes, code blocks, tables, captions, and local Media Library images.<\/li>\n<li>Distribute table columns automatically according to the number of cells.<\/li>\n<li>Keep exports private with post-specific nonces and WordPress capability checks.<\/li>\n<li>Protect server resources with image-count and image-size limits.<\/li>\n<li>Build genuine DOCX files with PHP's built-in <code>ZipArchive<\/code> extension.<\/li>\n<li>Process everything locally without tracking, remote requests, or external services.<\/li>\n<\/ul>\n\n<p>The plugin exports the currently saved database version of the post. Save or update the post before downloading to include your latest editor changes.<\/p>\n\n<p>Shortcodes are not executed by default. This avoids running unknown or expensive shortcode callbacks during an export. Developers can enable trusted shortcodes with the <code>postora_docx_process_shortcodes<\/code> filter.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>postora-export-for-docx<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install the plugin ZIP through Plugins &gt; Add New &gt; Upload Plugin.<\/li>\n<li>Activate Postora Export for DOCX through the Plugins screen.<\/li>\n<li>Go to Posts and click \"Download DOCX\" beneath an eligible post.<\/li>\n<li>Alternatively, open a post and use the \"Download DOCX\" button in the editor sidebar.<\/li>\n<\/ol>\n\n<p>The plugin requires the PHP Zip extension and checks for <code>ZipArchive<\/code> during activation.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20work%20with%20drafts%3F\"><h3>Does it work with drafts?<\/h3><\/dt>\n<dd><p>Yes. Draft export is one of the plugin's primary use cases. Downloading a draft does not publish or modify it.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20custom%20post%20types%3F\"><h3>Does it work with custom post types?<\/h3><\/dt>\n<dd><p>The default interface supports the regular Posts post type. Developers can add pages or custom post types with the <code>postora_docx_supported_post_types<\/code> filter; the plugin then adds the relevant row action and editor meta box automatically.<\/p><\/dd>\n<dt id=\"are%20images%20included%20in%20the%20export%3F\"><h3>Are images included in the export?<\/h3><\/dt>\n<dd><p>Yes. Featured images and inline images stored in the local WordPress uploads directory are embedded in the DOCX file. Remote images are not downloaded.<\/p><\/dd>\n<dt id=\"are%20there%20image%20limits%3F\"><h3>Are there image limits?<\/h3><\/dt>\n<dd><p>Yes. An export can include up to 50 unique images, with a maximum of 20 MB per image and 100 MB of image data in total. Repeated uses of the same image are deduplicated.<\/p><\/dd>\n<dt id=\"does%20it%20require%20any%20extra%20php%20extensions%3F\"><h3>Does it require any extra PHP extensions?<\/h3><\/dt>\n<dd><p>It requires PHP's <code>ZipArchive<\/code> extension. The plugin checks for this during activation and displays a clear error when it is unavailable. The DOM extension is optional because the plugin includes a fallback HTML parser.<\/p><\/dd>\n<dt id=\"are%20shortcodes%20executed%3F\"><h3>Are shortcodes executed?<\/h3><\/dt>\n<dd><p>No, not by default. Developers can enable trusted shortcode processing with the <code>postora_docx_process_shortcodes<\/code> filter.<\/p><\/dd>\n<dt id=\"is%20anything%20sent%20to%20external%20servers%3F\"><h3>Is anything sent to external servers?<\/h3><\/dt>\n<dd><p>No. All processing happens on your WordPress server. The plugin makes no remote requests and includes no analytics or tracking.<\/p><\/dd>\n<dt id=\"can%20export%20metadata%20be%20changed%20or%20disabled%3F\"><h3>Can export metadata be changed or disabled?<\/h3><\/dt>\n<dd><p>Yes. Developers can use the <code>postora_docx_metadata_settings<\/code> and <code>postora_docx_metadata_lines<\/code> filters to remove or customise status, author, modified-date, and category information.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added secure DOCX export for draft, pending, scheduled, private, and published posts.<\/li>\n<li>Added post-list and editor-sidebar download actions.<\/li>\n<li>Added headings, inline formatting, nested lists, blockquotes, code blocks, tables, captions, featured images, and local inline-image support.<\/li>\n<li>Added automatic table cell widths based on column count.<\/li>\n<li>Added depth-aware indentation for nested lists.<\/li>\n<li>Added canonical uploads-path validation to prevent local file traversal.<\/li>\n<li>Added limits of 50 images, 20 MB per image, and 100 MB total image data.<\/li>\n<li>Added image deduplication.<\/li>\n<li>Added safe error messages and private debug logging.<\/li>\n<li>Added ZIP-operation and download-stream checks.<\/li>\n<li>Added emoji and supplementary Unicode support.<\/li>\n<li>Added network-disabled DOM parsing with a fallback parser when DOM is unavailable.<\/li>\n<li>Added strict handling for unpublished WordPress GMT zero dates.<\/li>\n<li>Added an activation check for PHP <code>ZipArchive<\/code>.<\/li>\n<li>Added filters for supported post types, metadata, rendered content, shortcodes, and optional JPEG metadata stripping.<\/li>\n<li>Added export and cleanup action hooks for integrations and auditing.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial development release.<\/li>\n<\/ul>","raw_excerpt":"Download WordPress posts and drafts as properly formatted Microsoft Word DOCX files.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/334120","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=334120"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/abdulrehmanseo"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=334120"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=334120"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=334120"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=334120"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=334120"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=334120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}