Half of the money is going towards a violence against women campaign.
Amber Heard is giving away every cent of her $7 million divorce settlement.
The 30-year-old actress, who filed for divorce from 53-year-old Johnny Depp in May, said she is giving half the money to the American Civil Liberties Union for its violence against women campaign.
It comes after Heard, who was photographed with bruises on her face after filing for divorce, accused Depp of hitting her during their tempestuous marriage. Depp has denied the allegations.
Read: Amber Heard Says Johnny Depp Tried to Suffocate Her As She Shares New Photo of Bruised Face
The other half will go to the Children’s Hospital of Los Angeles, where Heard has volunteered for the past 10 years.
In a statement, she said: "Money played no role for me personally and never has, except to the extent that I could donate it to charity and, in doing so, hopefully help those less able to defend themselves.
"As reported in the media, the amount received in the divorce was $7 million, and $7 million is being donated. This is over and above any funds that I have given away in the past and will continue to give away in the future…
“I know these organizations will put the funds to good use and look forward to continuing to support them in the future. Hopefully, this experience results in a positive change in the lives of people who need it the most.”
Read: Johnny Depp's Famous Friends and Exes Come to His Defense Amid Domestic Violence Claims
Both organizations have expressed their thanks to the actress.
“We are incredibly grateful that Ms. Heard has so very generously shown her support for the important and necessary advocacy for victims of domestic violence,” Anthony D. Romero, executive director of the ACLU, said in a statement.
Paul S. Viviano, president and CEO of Children’s Hospital Los Angeles, said her “generosity will support the lifesaving treatments and cures that Children’s Hospital Los Angeles provides for critically ill children each year.”
The couple, who married in February 2015, jointly announced their divorce settlement Tuesday. They said their relationship was "intensely passionate and at times volatile, but always bound by love.”
Watch: Amber Heard and Johnny Depp Release Strange Apology for Dog Smuggling