A highly crystalline phase g-C3N4, namely poly (heptazine imide) (PHI) was synthesized using molten salts. A high-performance ultrafiltration membrane was prepared by blending PHI nanosheets with Poly(m-phenylene isophthalamide) (PMIA) to obtain casting solution, and further prepared by phase conversion method. Hybrid PMIA membranes were prepared by incorporating 0.02–0.10 wt% of PHI, which were further characterized by SEM, AFM, XRD, FTIR, XPS, TGA and surface zeta potential. The hydrophilicity, water flux, and rejection of bovine serum albumin (BSA) of the membrane significantly increased. For instance, the water permeability of M4 (264.6 Lm−2h−1bar−1) was about 2.3 times that of bare PMIA membrane (113.6 Lm−2h−1bar−1), while maintaining a BSA rejection of 94.7 % for a 1000 mgL−1 BSA feed solution. Moreover, the M4 membrane showed excellent antifouling performance with a flux recovery rate of up to 88.7 % and lower irreversible fouling of 11.3 %. This study may provide reference for the modulation of highly crystalline g-C3N4 structure and its application in membrane fabrication for water treatment.