Google rolls out its new tool to fight disgusting internet trolls

A promising new API could help cut down on the toxic environment of online comments
 By 
Marcus Gilmer
 on 
Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

As Twitter, Facebook, and other popular sites across the web continue to figure out how to fight trolling in the Age Of Trump, Google has taken its big step forward with the release of its Perspective API.

Created by Jigsaw (an Alphabet incubator) and Google’s Counter Abuse Technology, Perspective is for publishers that are constantly dealing with the onslaught of horrible trolls. The tool monitors conversations happening in a forum in real time and assigns the comments a score relating to how "toxic" it considers the comment.

The program's definition of "toxic" was created by asking internet users to rate comments on a scale from "very toxic" to "very healthy." For reference, the definition of "toxic" in this context was, "a rude, disrespectful, or unreasonable comment that is likely to make you leave a discussion."

In a chat with the Washington Post, Jigsaw president Jared Cohen noted that the team putting the API together collected millions of comments from the New York Times and additional comments from Wikipedia and online harassment victims to help them develop that toxicity scale.

It continues to be a work in progress, he notes, and as the API is now released into the wilds of the internet, more feedback would help the team improve it.

Jigsaw product manager CJ Adams said the purpose of Perspective was to empower publishers to "host robust debates and ... help people stay online without having to read every bit of abuse hurled their way."

There's a great way for your average internet user to get a glimpse of the program, too. On the API's website, there are some great interactive tools that show you how it works.

One tool displays dozens on comments on three topics: Climate change, Brexit, and the 2016 U.S. election. Using a slider tool, you can see how certain comments were filtered by toxicity. Slide all the way to the left and you get only the least "toxic" comments. Slide to the right, and you get everything, including the most "toxic" comments.

Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

There's also a tool where you can type your own trolling comment to see how "toxic" the API scores it. I tested it out using three phrases: one of my own, one of Donald Trump's tweets, and a tweet sent to me by a troll on Twitter.

Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable
Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable
Original image replaced with Mashable logo
Original image has been replaced. Credit: Mashable

Though it's in its early stages, sites can now request access to the Perspective API. Some of the publications already using it are the New York Times, The Guardian, and The Economist.

Ultimately, what the publisher decides to do with the API is entirely up to them, according to Jigsaw and Google. They can use the API to flag comments for moderators or even set up their forum in a way that allows each user to select the toxicity threshold. Or, they can even use the other tool and allow users to see how "toxic" their comments are as they type them.

While there will be continuing tweaks to the programming, it seems to be a solid step in the right direction, going beyond a "banned word" list that some forums use and allowing for nuance that a human moderator brings to the table.

And Jigsaw is definitely taking an optimistic approach to the API's implementation, focusing on how it could evolve discourse rather than simply shut down harassment.

"Advances in machine learning suggest that machines might be able to facilitate the way we communicate," says Lucas Dixon, Chief Research Scientist at Jigsaw in a press release, "and not only in terms of efficiency, but also in terms of the quality of our conversations too. Perspective has the potential to help people hear, understand, and resolve their differences."

Topics Google

Mashable Image
Marcus Gilmer

Marcus Gilmer is Mashable's Assistant Real-Times News Editor on the West Coast, reporting on breaking news from his location in San Francisco. An Alabama native, Marcus earned his BA from Birmingham-Southern College and his MFA in Communications from the University of New Orleans. Marcus has previously worked for Chicagoist, The A.V. Club, the Chicago Sun-Times and the San Francisco Chronicle.

Mashable Potato

Recommended For You
AI has made us all surveillance targets. This tool helps you fight back.
A collage of four different posters. One features a large eyeball and the words "Big Tech is watching you." Another reads "Privacy is Theft. Surveillance is Protection. Data is Profit."

Meta rolls out Facebook scam warnings
Meta rolls out scam protection warnings to Facebook, Instagram

Is SLS still the most powerful rocket? 5 facts as Artemis 2 rolls out
Space Launch System towering over launchpad 39B at Kennedy Space Center



More in Tech
How to watch Chelsea vs. Port Vale online for free
Alejandro Garnacho of Chelsea reacts

How to watch 'Wuthering Heights' at home: Margot Robbie and Jacob Elordi's controversial romance now streaming
Margot Robbie and Jacob Elordi embracing in still from "Wuthering Heights"

How to watch New York Islanders vs. Philadelphia Flyers online for free
Matthew Schaefer of the New York Islanders warms up

How to watch Mexico vs. Belgium online for free
Israel Reyes of Mexico reacts

How to watch Brazil vs. Croatia online for free
Vinicius Junior #10 of Brazil leaves

Trending on Mashable
NYT Connections hints today: Clues, answers for April 3, 2026
Connections game on a smartphone

Wordle today: Answer, hints for April 3, 2026
Wordle game on a smartphone

Google launches Gemma 4, a new open-source model: How to try it
Google Gemma

What's new to streaming this week? (April 3, 2026)
A composite of images from film and TV streaming this week.

The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!