Judge Howard Riddle said the effect of Twitter abuse on feminist campaigner Caroline Criado-Perez had been "life-changing".
The victim describes "panic and fear and horror," he said.
The judge added that online abuse aimed at Stella Creasy had also had a "substantial" impact on the Labour MP, who has had a panic button installed in her home.
The fact that they were anonymous heightened the fear.
The victims had no way of knowing how dangerous the people making the threats were, whether they had just come out of prison, or how to recognise and avoid them if they came across them in public.
More top news
One of the most notorious Mexican drug lords still at large has been captured by soldiers at a seafood restaurant in a picturesque town.
A dossier of online abuse directed at the parents of Madeleine McCann is being examined by police.
World leaders meet in London to tackle the Ebola outbreak in west Africa which has so far claimed at least 3,000 lives.