Cleaning up/Uniformize bibliography for long document I was wondering whether existed some software that would take as input a text file bibliography (for instance a bib file if you use bibtex), and that run it through google scholar (or any other database), so that it can return a uniformized bibliography.

As an example, suppose you have two items from the same conference

@inproceedings{mpi,
   author       = {Surname1 Name1 and Surname2 Name2},
   title        = {Some nice work},
   booktitle    = {Editor of the Name of Conference},
   year         = {2004},
 }


and 

@inproceedings{RRnrj,
  author        = {Name3 S. and Name4 S.},
  title         = {Some nice work},
  booktitle     = {Name of Conference (Acronym)},
  year          = {2020},
  publisher     = {Editor},
}


and you would want it to return:

@inproceedings{mpi,
   author       = {Surname1 Name1 and Surname2 Name2},
   title        = {Some nice work},
   booktitle    = {Name of Conference (Acronym)},
   year         = {2004},
   publisher    = {Editor},
 }


and 

@inproceedings{RRnrj,
  author        = {Surname3 Name3 and Surname4 Name4},
  title         = {Some nice work},
  booktitle     = {Name of Conference (Acronym)},
  year          = {2020},
  publisher     = {Editor},
}


(or whatever is the norm on the database).
If you have the DOI codes, the best thing is to use the API and get the references yourself:

curl -LH "Accept: text/bibliography; style=bibtex" http://dx.doi.org/[DOI code]


If you have them (and you should, for any modern article), parsing the bib to get them and getting the data can be done in a very simple script.