Organic photocatalysts have attracted attention owing to their suitable redox band positions, low cost, high chemical stability, and good tunability of their framework and electronic structure. As a novel organic photocatalyst, PDI-Ala (N,N'-bis(propionic acid)-perylene-3,4,9,10tetracarboxylic diimide) has strong visible-light response, low valence band position, and strong oxidation ability. However, the low photogenerated charge transfer rate and high carrier recombination rate limit its application. Due to the aromatic heterocyclic structure of g-C3N4 and large delocalized π bond in the planar structure of PDI-Ala, g-C3N4 and PDI-Ala can be tightly combined through π-π interactions and N-C bond. The band structure of sulfur-doped g-C3N4 (S-C3N4) matched well with PDI-Ala than that with g-C3N4. The electron delocalization effect, internal electric field, and newly formed chemical bond jointly promote the separation and migration of photogenerated carriers between PDI-Ala and S-C3N4. To this end, a novel step-scheme (Sscheme) heterojunction photocatalyst comprising organic semiconductor PDI-Ala and S-C3N4 was prepared by an in situ self-assembly strategy. Meanwhile, PDI-Ala was self-assembled by transverse hydrogen bonding and longitudinal π-π stacking. The crystal structure, morphology, valency, optical properties, stability, and energy band structure of the PDI-Ala/S-C3N4 photocatalysts were systematically analyzed and studied by various characterization methods such as X-ray diffraction, transmission electron microscopy, energy dispersive X-ray spectrometry, X-ray photoelectron spectroscopy, ultraviolet visible diffuse reflectance spectroscopy, electrochemical impedance spectroscopy, and Mott-Schottky curve. The work functions and interface coupling characteristics were determined using density functional theory. The photocatalytic activities of the synthesized photocatalyst for H2O2 production and the degradation of tetracycline (TC) and p-nitrophenol (PNP) under visible-light irradiation are discussed. The PDI-Ala/S-C3N4 S-scheme heterojunction with band matching and tight interface bonding accelerates the intermolecular electron transfer and broadens the visible-light response range of the heterojunction. In addition, in the processes of the PDI-Ala/S-C3N4 photocatalytic degradation reaction, a variety of active species (h + , •O2 − , and H2O2) were produced and accumulated. Therefore, the PDI-Ala/S-C3N4 heterojunction exhibited enhanced photocatalytic performance in the degradation of TC, PNP, and H2O2 production. Under visible-light irradiation, the optimum 30%PDI-Ala/S-C3N4 removed 90% of TC within 90 min. In addition, 30%PDI-Ala/S-C3N4 displayed the highest H2O2 evolution rate of 28.3 μmol•h −1 •g −1 , which was 2.9 and 1.6 times higher than those of PDI-Ala and S-C3N4,