Ofloxacin eye drops are a medication used to treat bacterial infections of the eyes. Ofloxacin is a fluoroquinolone antibiotic. It works by killing bacteria in the eye.