On-the-spot fines of up to £80 could be imposed on people caught swearing in Barnsley town centre.
In June, people will be asked to report anyone causing offence or intimidation by their use of bad language.
The decision to bring in fines was made after discussions between South Yorkshire Police and community organisation, Barnsley Voice.
The fines are a part of a series of monthly campaigns tackling different types of anti-social behaviour.
Phil Davies, from Barnsley Voice, said: "There is nothing wrong with swearing - I do it every day - but it is when it is targeted at somebody."
Insp Julie Mitchell of South Yorkshire Police said: "It is important to note that some people feel upset and intimidated from hearing swearing.
"Therefore, it has been agreed that those found to be swearing in the town centre will be dealt with appropriately, by either advice or enforcement."