reducing voltage

I have a photo cell that's part of a circuit that outputs 12 volts when active. How do I drop that down to 5 volts so I can connect it to one of the pins on a arduino mega
Thanks
Rick

A voltage divider does the job.
https://learn.sparkfun.com/tutorials/voltage-dividers/all

Thanks Tasasaki
That worked great
Rick