Import your highlights and notes from Grain directly into Roam!


You could use the Copy Extension button below to individually install this extension. To install, just paste anywhere in your Roam graph and click "Yes, I Know What I'm Doing".

Manual Installation

If instead you prefer to manually install, first create a block with the text {{[[roam/js]]}} on any page in your Roam DB. Then, copy and paste this code block as a child of the block.

var existing = document.getElementById("roamjs-grain-main");
if (!existing) {
  var extension = document.createElement("script");
  extension.src = "https://roamjs.com/grain/main.js";
  extension.id = "roamjs-grain-main";
  extension.async = true;
  extension.type = "text/javascript";


You first must log into your Grain account by visiting the roam/js/grain page in your graph.

Each day you visit your daily notes page, a dialog will appear accessing your latest recordings. You could check whichever ones you'd like to import into Roam. Clicking IMPORT will import each of them as a separate block tree with all the highlights nested under the title of the recording as a tag.


This extension is brought to you by RoamJS! If you are facing any issues reach out to support@roamjs.com or click on the chat button on the bottom right. If you get value from using this extension, consider sponsoring RoamJS by clicking on the button below!


Add your email below to stay up to date on all RoamJS features, fixes, and news!

Other Extensions

Coming Soon...