Soil pollution, especially the metal(loid) polluted soils, is an important problem worldwide. Metal(loid) soil contents were greatly increased because of anthropogenic activities such as industrial and domestic wastes, fuel manufacturing, agrochemical uses, transport, smelting and mining activities (Ashraf, Ali, Zahir, Ashraf, & Asghar, 2019; Cristaldi et al., 2017). These sites need remediation because of their negative effects on the environment and human health. One remediation technique using plants, associated with microorganisms, to remove, uptake or render harmless contaminated soils is called 'phytoremediation' (Ghosh & Singh, 2005). Plants tolerant to the pollutants are grown on the polluted and will accumulate metal(loid)s in their tissues. In addition, this will add a vegetation on the soil, preventing soil erosion and water leaching, limiting contamination spreading. Also, plant and microorganism activities will affect metal(loid) mobility, bioavailability and speciation (Hou et al., 2020). However, in order to grow plants on the contaminated soil sites having poor fertility, amendment application is needed to ameliorate soil conditions (Chikkara and Reddy 2015). Among amendments that can be used, biochar and compost have shown good results. Biochar is the product of pyrolysis of biomass, whereas compost is obtained through the microbial degradation of organic materials (Huang et al., 2016;