PDF to WordPDF to DOCX conversion in Rust (high accuracy)

โš“ Rust    ๐Ÿ“… 2026-04-11    ๐Ÿ‘ค surdeus    ๐Ÿ‘๏ธ 1      

surdeus

Iโ€™m working on a PDF โ†’ DOCX converter in Rust (for a Tauri app), aiming to preserve layout, tables, fonts, and spacing as accurately as possible.

From what I understand, PDFs donโ€™t store structured content like DOCX, so reconstructing everything correctly is quite challenging.

I wanted to ask:

  • Has anyone here worked on PDF to DOCX conversion in Rust?
  • Are there any crates or tools that help with layout reconstruction?
  • Is near-lossless conversion realistic using only Rust, or is a hybrid/external approach usually needed?
  • How do you typically handle tables and complex layouts?

Also, Iโ€™d really appreciate any suggestions on how you would approach building something like this

1 post - 1 participant

Read full topic

๐Ÿท๏ธ Rust_feed