Have a look at KiCad BOM Wizard Plugin with customisable output (Can make HTML and CSV BOM)
Or https://github.com/SchrodingersGat/KiBoM
Both are more powerful bom scripts that can do a lot more than the ones that come with kicad by default.
There are others out there but these two are the ones i know of.