This index of O'Fallon, Illinois obituaries and marriages is offered in downloadable PDF files. Scroll down the landing page to read about the index and then click on the PDF link appropriate for your ancestor's surname. The records date from 1898 to 2007.
If you find an index entry of value, you can contact the library and request an image. There is a small fee for that service.