Harris, who was California's attorney general from 2011 to 2017, made her announcement to supporters outside city hall in Oakland, San Francisco's grittier neighbor where she was born.
Barack Obama introduced himself to Californian voters in 2007 in the same location before he was elected the first African American president of the United States a year later.
Harris already announced in a January 21 video that she would run for president. She joins a Democratic field with several other candidates seeking to keep Trump out of the White House for a second term.
Trump fires off a new tirade at Pakistan
"We are here because the American dream and our American democracy are under attack and on the line like never before," she said.
"When democratic values are under attack around the globe, when authoritarianism is on the march, when nuclear proliferation is on the rise, when we have foreign powers infecting the White House like malware, let's speak the truth," she added to raucous applause.
Without naming the president, Harris directly targeted the divisive policies of his unconventional administration.
Harris, whose father is from Jamaica and whose mother is a Tamil Indian, said that "in the face of powerful forces trying to sow hate and division among us, the truth is that as Americans, we have so much more in common than what separates us."
Trump climbs down in wall row, Congress passes bill ending shutdown
Trump regularly tries to equate illegal immigrants with crime and gangs, and his standoff with Democrats in Congress over funding for a wall on the Mexican border led to a record nearly five-week shutdown of parts of the government.
"The president's medieval vanity project is not going to stop them," Harris said of transnational gangs. She also attacked Trump's failed policy that put migrant children "in cages" after separating them from their parents.
Trump climbs down in wall row, Congress passes bill ending shutdown
"Don't you dare call that border security. That's a human rights abuse!" she said. Referring to racist-inspired deadly violence in the country, Harris said "that's not our America," and neither is it when "we have leaders who bully and attack a free press and undermine our democratic institutions."
Trump regularly dismisses as "fake news" reports that cast him in a critical light, and has called some journalists the "enemy of the people."
Trumps delays speech until government shutdown ends
Harris joins Senator Elizabeth Warren of Massachusetts, Hawaii Congresswoman Tulsi Gabbard, New York Senator Kirsten Gillibrand and former housing secretary Julian Castro, among others, either in the race or exploring a run for the 2020 Democratic nomination.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ