Here is csv version of the 5e D&D SRD. It is more programmer friendly, in case you wanted to use the data in a game engine or to power a website, or just like the power of SQL. You can import it into sqlite and run queries against it.
codeberg.org/random-wizard/1d2…
Example
sqlite3 monsters_traits_base.db
sqlite> .mode csv
sqlite> .import monsters_traits_base.csv monsters_traits_base
sqlite> .mode list
sqlite> SELECT name, str, dex, con, int, wis, cha, alignment, challenge
...> FROM monsters_traits_base
...> WHERE challenge > 10 AND challenge < 13;
Archmage |10|14|12|20|15|16|any alignment |12
Behir |23|16|18| 7|14|12|neutral evil |11
Djinni |21|15|22|15|16|20|chaotic good |11
Efreeti |22|12|24|16|15|16|lawful evil |11
Erinyes |18|16|18|14|14|18|lawful evil |12
Gynosphinx |18|15|16|18|18|18|lawful neutral|11
Horned Devil |22|17|21|12|16|17|lawful evil |11
Remorhaz |24|13|21| 4|10| 5|unaligned |11
Roc |28|10|20| 3|10| 9|unaligned |11
sqlite> .exit