Outside of nudist beaches, which represent a tiny fraction, swimming in the nude isn't tolerated on french beaches.
(maybe you were joking ?)
I know it for having found myself surprised to be on the fun part of the beach countless times.
That's a picture of a French minister crossing path with a local enjoying himself : http://www.directmatin.fr/france/2016-08-11/emmanuel-macron-...
Oh, and topless for women is ok everywhere.