Charles Ramsey — the hero who helped free Amanda Berry and 2 other women in Ohio — tells TMZ … he’s not ashamed that media outlets have uncovered the domestic violence arrests in his past, claiming he used the incidents to grow into a better person.

After Ramsey exploded into viral superstardom thanks to his heroic actions (and follow-up interviews), several websites posted the details from 3 separate domestic violence arrests involving an ex-wife that all took place between 1997 and 2003.

We spoke to Ramsey, who told us … “I’ve made amends with the people involved and we’ve all moved on and grown up.”