Phenyl-substituted perfluoroalkanesulfonanilides in which the phenyl rings are linked by sulfur, sulfinyl or sulfonyl and salts thereof in which the rings and the perfluoroalkylsulfonamido nitrogen are optionally substituted. The compounds are active herbicides and some are anti-inflammatory agents and analgesic agents.