Getting a Word document (in outline mode) into Bike

I’ve got a rather large Word document (.docx) that is in outline mode. Anybody know if there’s a way to export this into something that can then come into Bike and preserve the hierarchy of the original document?

There are Pandoc routes.

(e.g. docx → tab-indented text, or docx → OPML, either of which can be imported by Bike)

If others haven’t pointed you to details by this (EU) evening, I’ll sketch something out.

One approach, which captures outline structure (but sheds any emphases and other inline formats in docx) is to:

  1. use pandoc for docx -> opml and then
  2. open the resulting .opml file in Bike, and
  3. Save As .bike

You will need to install pandoc on your macOS system, and then, at a prompt, use an incantation to

  • read from docx
  • writing to opml, and
  • using the standAlone option (so that the OPML is complete, and legible to Bike)

For example, if you had a Word file in your macOS ~/Desktop folder called nested.docx, which looked something like this (in MS Word Outline view):

Then in you could enter the command line:

cd ~/Desktop

to change the active directory to your Desktop folder, and then

pandoc -f docx -t opml --standalone nested.docx -o nested.opml

(which translates from docx to opml in standAlone mode writing the result out to a new file called nested.opml)

you can then either open ~/Desktop/nested.opml in Bike through its File > Open menu item, or, still at the command line, and still with ~/Desktop as the current directory:

open -a Bike nested.opml

(Perhaps followed, in Bike itself by File > Save As (holding down the ⌥ Option key) and choosing File Format: bike)


If your MS Word file contains body text, this will be imported into OPML as invisible _note attributes.

To make the body text paragraphs visible in the imported Bike OPML, you can use this applescript:

The script will toggle between a view in which the body paragraphs are hidden in Bike, and a view in which they are visible as note rows:

1 Like