A Google Documents Apps Script and Add-on that searches for Bible verses and converts them to links. Choose from a selection of online Bible sources.
- Install the Bible Linker add-on from Google Marketplace.
For those who installed Bible Linker via Google Marketplace before April 12, 2023, you will need to reinstall the add-on as v2 required an additional permission to make Bible Linker modular. - In your Google Document, find the add-on under Extensions > Bible Linker. (For those using Google Workspace accounts, the add-on may be found under Add-ons > Bible Linker.)
- In your Google Document, click Extensions > Apps Script.
- In the page that will open, copy and paste the contents of Code.gs.
- Save. You may now close the Apps Script window and refresh your document.
- Find Bible Linker in the top-level Menu. Enjoy!
Tip: If there is no selected text, Bible Linker will process the whole document. If you highlighted a selection, it will only create links in that selected portion of the document.
Coders are welcome to improve the script. It's open source. MIT license.
- Find and fix bugs
Support for other languagesDone in v2!Support for more online BiblesDone in v2!Check if Bible reference (chapter and verse) is validDone in v2!Apply books exclusions, where some books are not available for a specific Bible versionDone in v2!- Add new languages by creating JSON files.
For samples of valid JSON files, see the bible-data directory.
Testing of new JSON files can be done via the menu Extensions > Bible Linker > Choose language (data source) > Set custom data source ...
The Bibles and languages initially supported came from versions listed in jw.org and Watchtower Online Library. The Terms of Use of these websites do not allow the sharing of their contents. However, it allows linking to these websites, which is what this script does.