Code Conference

Twitter has shut 125,000 accounts related to terrorism, Dorsey said

Bilton: Twitter doesn't know what Twitter is
VIDEO3:5303:53
Bilton: Twitter doesn't know what Twitter is

Twitter CEO Jack Dorsey said the company is actively focused on security and has closed about 125,000 accounts related to terrorism.

"We're being very aggressive in shutting these accounts down," Dorsey said on Wednesday at the Code Conference in Rancho Palos Verdes, California. "We get help from governments all over the world in pointing out these accounts."

Dorsey, the Twitter co-founder and Square CEO who came back to run the microblogging service last year, was joined on stage by activist and Black Lives Matter member Deray Mckesson.

They met during the Ferguson protests in 2014 that followed the fatal shooting of Michael Brown by a police officer. Ferguson is part of the greater St. Louis area, Dorsey's hometown.

Facebook CEO Mark Zuckerberg, left, and Google CEO Larry Page
In online ads, it's Google, Facebook and then who?

Mckesson is a power Twitter user with 366,000 followers and calls himself a big fan of the service. Since befriending Dorsey, he's visited Twitter's San Francisco headquarters multiple times and met with much of the management team.

But Mckesson said he has plenty of issues with the service. For one, he takes a lot of abuse and his only recourse is to block each person individually. He said he's blocked 19,000 to date.

"I get death threats," he said. "That's not a fun experience."

Jack Dorsey, CEO of Twitter
Twitter CEO Dorsey: Here’s what Wall Street doesn't get about us

In addition to rooting out the promotion of terrorist violence on Twitter, Dorsey said the company is focused on protecting individuals from the type of abuse experienced by Mckesson.

One of Twitter's top five priorities for the year is safety, Dorsey said. That includes making muting and reporting of bad actors easier.

"In the past, we have talked about the importance of safety," Dorsey said. "I don't know if we always applied engineering resources to it. That's changed."

For more coverage of the Code Conference, click here.

CNBC's parent NBCUniversal is an investor in Recode's parent Vox, and the companies have a content-sharing arrangement.