Google Scholar has a good (but not perfect) AI citation generator.
AI Generated citations MUST ALWAYS BE DOUBLE-CHECKED! I cannot state this often enough.
Frequent AI generated errors include, but are not limited to:
Look at the PDF or HTML of the article for any missing information. Add as appropriate.
Google Scholar has the highest accuracy of citation formatting with peer-reviewed articles. If you use a source other than a peer-reviewed article (for example: a chapter from an ebook), its accuracy goes way down.