RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

readword: word .doc and .docx files to markdown, in plain ruby

i kept needing to feed word files to llms and coding agents, and reading old .doc files from ruby always meant shelling out to libreoffice or antiword. so i wrote readword, its plain ruby, reads both .doc and .docx and gives you markdown with the headings, numbered lists, tables and links kept. compared it with antiword, the docx gem and anydoc on 650 files, numbers are in the readme. if you have a word file it gets wrong id love to see it

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in