Using an Arduino to Measure voltage of a 12V Car Battery

You can add a protection diodes to your voltage divider.

Or, the AVR chip (Arduino Uno, etc.) actually has small (low current) diodes already built-in and if your voltage divider resistors are in the ballpark of 10K, that limits the current and the built-in diodes can probably handle it.

I have a couple of these.