Chief Constable Andy Trotter, the lead on communications for the Association of Chief Police Officers (Acpo), said:
Many offensive comments are made every day on social media and guidance will assist the police to focus on the most serious matters.
There is not only the matter of principle to be addressed but also the practicality of dealing with thousands of potential offences.
More top news
Edinburgh and its institutions have been at heart of the Union since it came about in 1707, here we look at the city's history.
In Berwick-upon-Tweed - the town at the northern-most tip of England - history has taught them that no border necessarily lasts forever.
His car was about to get towed away. But he had other ideas.