A simple and clean synthesis for Nd2Sn2O7-SnO2 nanocomposites as high-efficiency visible-light responsive photocatalyst is described applying extract of pineapple, for the first time. As novel and non-toxic biofuel, extract of pineapple, is employed to fabricate Nd2Sn2O7-SnO2 nanocomposites through an environment-friendly procedure. The findings denote that the applied biofuel can play a meaningful role as capping agent during preparation of Nd2Sn2O7-SnO2 nanocomposites. Depending on the applied dosage of pineapple extract as well as time for fabrication, the grain size, photocatalytic yield and morphology of Nd2Sn2O7-SnO2 structures changed. A suite of identification methods like XRD, TEM, EDS, DRS, BET and FESEM are utilized for investigation of the produced Nd2Sn2O7-SnO2 nanocomposites. Nd2Sn2O7-SnO2 structures are utilized as visible-light responsive photocatalyst to degrade the rhodamine B and eosin Y contaminants. The produced Nd2Sn2O7-SnO2 nanocomposites have been found to be very effective as visible-light responsive photocatalyst to degrade contaminants which may bring to environmental pollution.