The aim of the present study was to elucidate the protective properties of 3,4-dihydroxybenzoic acid (DBA) isolated from Cladophora wrightiana Harvey (a green alga) against ultraviolet B (UVB)-induced damage to human HaCaT keratinocytes. DBA exhibited scavenging actions against the 1,1-diphenyl-2-picrylhydrazyl radical, the superoxide anion, and the hydroxyl radical. Furthermore, DBA decreased the levels of intracellular reactive oxygen species generated by hydrogen peroxide or UVB treatment of the cells. DBA also decreased the UVB-augmented levels of phospho-histone H2A.X and the extent of comet tail formation, which are both indications of DNA damage. In addition, the compound safeguarded keratinocytes from UVB-induced injury by reversing the production of apoptotic bodies, overturning the disruption of mitochondrial membrane potential, increasing the expression of the anti-apoptotic protein, B-cell lymphoma 2, and decreasing the expression of the pro-apoptotic proteins, Bcl-2-associated X and cleaved caspase-3. Taken together, these results demonstrate that DBA isolated from a green alga protects human keratinocytes against UVB-induced oxidative stress and apoptosis.