
Hydra Doc Importer
v1.1.0extascorp · 2026年11月11日 上架
Import Word (.docx) and text PDF files into WordPress as clean Gutenberg block drafts, in batches. Export any post to Markdown.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 208
- 最近更新
- 2026年11月12日
贡献者
截图
Hydra Doc Importer imports a Word (.docx) or text PDF file into WordPress as a draft post or page made of standard Gutenberg blocks, and exports any post or page to Markdown.
Use it when your content already lives in documents and you are tired of pasting from Word and fixing the formatting by hand.
Typical uses
- Move a set of Word articles written by authors or clients into WordPress without copy and paste.
- Turn a text PDF (a report, a guide, a handout) into an editable post.
- Import a whole folder of .docx files in one go: each file becomes its own draft.
- Export a post to a Markdown file to archive it, move it to a static site, or give it to an AI assistant.
Import features
- Word (.docx): headings, paragraphs, bold, italic, strikethrough, superscript, links, bulleted and numbered lists (nested too), tables, quotes and images. Images are saved in your Media Library with their alt text.
- Text PDF: the text layer is read and rebuilt as paragraphs, headings and lists.
- Standard blocks only: Paragraph, Heading, List, Table, Image and Quote. No custom blocks, so your content stays editable if you remove the plugin.
- Draft first: you get a draft post or page to review before publishing. The first title of the document becomes the post title.
- Batch import: select several files at once, each becomes its own draft.
- Block editor sidebar: import a file into the post you are editing.
- Works on shared hosting: pure PHP, no command line tool, no external service for the import itself.
Markdown export features
- Export any post or page to a .md file with a small front matter (title, date, URL).
- A “Markdown” link under each item in the Posts and Pages lists.
- A Hydra Doc Importer sidebar in the block editor to download the .md file or copy the Markdown.
- Images are exported as Markdown image links to your Media Library files.
Privacy
Your documents are processed on your own server and are never sent anywhere. The plugin stores only a small _hydradoc_source post meta with the original file name. The only external service is the optional Freemius opt-in described under External services.
More about the project: https://hackthehydra.com/
Limits
Please read these before importing important content.
- A PDF has no real structure: headings and lists are guessed from line spacing, dashes and numbering. Always read the draft before publishing.
- PDF tables and images are not imported (Word tables and images are).
- PDF with two columns: the reading order can be wrong. Bullets drawn with a special font can be lost.
- Scanned PDFs and images (no text layer) are refused with a message: there is no OCR.
- Footnotes, text boxes, headers and footers of Word files are ignored.
- Very complex Word files can give a less tidy result than simple ones. Try a few of your own documents first.
- Files must be at most 20 MB (or your server upload limit if smaller).
External services
The plugin makes no external request until you opt in. It includes the Freemius SDK, which is used to offer the optional Pro upgrade and licensing.
- On activation, Freemius shows an opt-in screen. You can click “Skip”: nothing is then sent and the plugin works fully.
- If you opt in, Freemius receives your WordPress user’s email address and name, the site URL, WordPress / PHP / plugin versions, the active theme and plugin list, and the language, so it can provide updates, security notices and usage statistics. You can opt out at any time.
- Your documents and your posts are never sent to Freemius.
- Service: Freemius, https://freemius.com. Terms: https://freemius.com/terms/. Privacy policy: https://freemius.com/privacy/.
Third party libraries
- smalot/pdfparser 2.x, LGPL-3.0, https://github.com/smalot/pdfparser (included in the vendor folder, unmodified).
- symfony/polyfill-mbstring 1.x, MIT, https://github.com/symfony/polyfill (included in the vendor folder, unmodified).


