The liquid-solid contact electrification was used as a sensing mechanism to analyze liquid chemicals, which may eventually become a new molecule analytic principle.