We propose a novel characterization method of randomly branched polymers based on the geometrical property of such objects in confined spaces. The central idea is that randomly branched polymers exhibit a passing/clogging transition across the nanochannel as a function of the channel size. This critical channel size depends on the degree of the branching, whereby allowing the extraction of the branching information of the molecule.