Ruminiclostridium papyrosolvens is an anaerobic, mesophilic, and cellulolytic clostridia, promising consolidated bioprocessing (CBP) candidate for producing renewable green chemicals from cellulose, but its genetic transformation has been severely impeded by extracellular biofilm. Here, we analyzed the effects of five different inhibitors with gradient concentrations on R. papyrosolvens growth and biofilm formation. Gallic acid was proved to be a potent inhibitor of biofilm synthesis of R. papyrosolvens. Furthermore, the transformation efficiency of R. papyrosolvens was significantly increased when the cells were treated by the gallic acid, and the mutant strain was successfully obtained by the improved transformation method. Thus, inhibition of biofilm formation of R. papyrosolvens by using gallic acid will contribute to its genetic transformation and efficient metabolic engineering.