Yup, a voltage divider is the way to go.
Do a search on this forum and what you are planning has been talked about.

The link I referred to was more for the ADC explanation part and not the circuit.