A process for preparing aromatic compounds from a liquid biofuel feedstock by introducing the feedstock into a hydroreforming stage in the presence of hydrogen and a hydroreforming catalyst that contains a transition metal of a group 3 to 12 element and an activated carbon, silicon carbide, silica, transition alumina, alumina-silica, zirconium oxide, cerium oxide, titanium oxide, or an aluminate of a transition metal substrate, to obtain a liquid effluent that contains an aqueous phase and an organic phase, a stage for hydrotreatment of the organic phase, a hydrocracking stage, recycling a fraction that boils higher than 160° C. in said hydrocracking stage, a separation into a fraction containing naphtha and a fraction that boils higher than 160° C., a stage for catalytic reforming of the fraction containing naphtha to obtain hydrogen and a reformate that contains aromatic compounds and a stage for separation of the aromatic compounds of the reformate.