PDF to WordPDF to DOCX conversion in Rust (high accuracy)
โ Rust ๐ 2026-04-11 ๐ค surdeus ๐๏ธ 1Iโ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
๐ท๏ธ Rust_feed