How do I convert an esv bible to a CSV file?

Updated July 20, 2017

Online Bibles can be downloaded in XML format for use on websites or for personal reading. This format lets you easily search and parse by books and verses. However, XML is not easy to read without special parsing. CSV files are easier to work with if you need to sort and rearrange data. While it is possible to write your own tool to convert XML to CSV format, it is difficult and requires in-depth programming knowledge. There is an online tool

Download your preferred XML version of the Bible. Several are available through OpenSong (see Resources).

Extract the file if it is compressed. The Bibles offered by OpenSong are stored in zip format.

Upload the XML file using a free online converter (see References). Your file may have the .xml extension, but it could also be .xmm or another format. These are types of XML files and are compatible with the conversion tool. The tool will convert the file and create a .zip file containing multiple CSVs with the books, chapters, and verses of your Bible.


The structure of XML files is different from CSV. When an XML file is converted to CSV, you will end up with multiple CSV files representing different parts of the XML. There are other online converters for turning XML into CSV (see Resources) that can handle any type of XML file, but they may not parse the information as nicely as those intended specifically for Bibles.

Cite this Article A tool to create a citation to reference this article Cite this Article

About the Author

Marty Simmons started writing professional reports for the environmental consulting industry in 2008. His online instructional articles specialize in science and education. Simmons has a Bachelor of Arts in geology from Kent State University.