I frequently use the excellent following website to convert my bibliography from .bib to .docx for coauthors working with me on scientific stuff who don't use latex:
https://www.bibtex.com/c/bibtex-to-ama-converter/
More precisely, the output of the website is a table with 2 columns: the first one is the numbering of appearance of the references in the .bib file and the second one is filled with the references in the AMA (American Medical Association) format. AMA was taken as an example, an can be replaced by any other format.
Is there a command line equivalent?
The content of the .bib can be something like that:
% content of ref.bib@article{TheAuthorOne2023, title = {The title1}, volume = {62}, url = {http://dx.doi.org/11.1111}, number = {10}, journal = {The journal1}, publisher = {Publisher1}, author = {author one and author two}, year = {2022}, month = oct,}@article{TheAuthorTwo2023, title = {The title2}, volume = {62}, url = {http://dx.doi.org/11.1112}, number = {10}, journal = {The journal2}, publisher = {Publisher2}, author = {author one and author two}, year = {2022}, month = oct,}
Here is the screen shot of the content of the word document generated on by the website: