The Office of the Registrar General hosts an Online Certificate Application website. You can apply for birth, death or marriage certificates for events that have been registered in Ontario.
Office of the Registrar General – Online Birth Registration
https://www.orgforms.gov.on.ca/IBR/scr03b_ContactUs.html