VerseRefKit icon iOS & Android · Open source (MIT)

VerseRefKit

A multi-language Bible reference parser for Android (Kotlin) and iOS (Swift). It converts between USFM codes and readable references, and finds references inside free text.

  • English and Malayalam

    Full names and common abbreviations are recognised. Tamil and Hindi are planned.

  • Finds references in text

    Locates references such as Rom 8:28-30 inside a sentence.

  • Same behaviour on both

    Both platforms read the same book data and pass the same test cases.

Kotlin
VerseRef.usfm("1 Cor 3:4")          // "1CO.3.4"
VerseRef.humanReadable("ROM.8.28")  // "Romans 8:28"
Swift
VerseRef.usfm(from: "1 Cor 3:4")          // "1CO.3.4"
VerseRef.humanReadable(from: "ROM.8.28")  // "Romans 8:28"