Hossam...most databases give you the correct format as well. Most of them have APA, MLA and some others to chose from. Just pick the one you need and copy and paste. If you think this is too tedious then my company charges a small fee to check references and proof read documents for publication.
You can use Zotero as a free alternative to Endnote and other software (https://www.zotero.org/).
You can download citations from journals webs..., and use them in a text processor (Word, OpenOffice...).
If you need to send the manuscript to a different journal with a different bibliography and citation style, simply change the citation style in Zotero in your manuscript.
"Whether you need to create footnotes, endnotes, in-text citations, or bibliographies, Zotero will do all the dirty work for you, leaving you free to focus on your writing. Create citations in Word and OpenOffice without ever leaving your word processor and add references to an email, a Google Doc, or some other editor simply by dragging one or more references out of Zotero."
as Nicolas suggested Zotero is good. however, as long as you are not dealing with a large number of references. the program is free but not behave well in managing a large database ( >1000 references). I also like to add that, please choose carefully the program, as these softwares are not very compatible with each other and better to choose the right one from the beginning to avoid the hassle of transferring/converting libraries later on. I suggest the Endnote, knowing that it is not free.