Lawmakers on Capitol Hill are grilling executives from Facebook and Google in a hearing on hate crimes and white nationalism.

"There is no place for hate or terrorism on Facebook," said Neil Potts, Public Policy Director at Facebook.

Social media platforms are being criticized for their role in spreading extremist ideologies.

The hearing comes weeks after a terror attack in New Zealand that left 50 dead, and was live-streamed on Facebook -- causing the network to announce it would ban all "praise, support and representation of white nationalism and separatism."

The video then spread across YouTube -- which is owned by Google -- with the platform scrambling to stem the uploads

"We are deeply troubled by the recent increase of hate and violence in the world particularly by the acts of terrorism and violent extremism in New Zealand," said Alexandria Walden, Counsel for Free Expression and Human Rights at Google.

The platforms say they're aiming to remove hateful pages and videos faster.

Potts went on to say, "It's a fully holistic approach that we take. We try to really leverage our technology in that space and we are hoping to get faster."

During Tuesday's hearing, while YouTube defended their platform, they were also forced to disable comments on the livestream House Judiciary hearing after an influx of racist and anti-Semitic comments. 

The tech companies appeared alongside prominent right wing activists and civil rights activists, all discussing the balance of protecting free speech while attempting to eliminate hate speech.

"We err on the side of allowing more speech, we want to give people the voice, but we do have to draw lines somewhere," said Potts.