Important parameters that influence biochar properties include charring temperature and biomass type. We characterized the molecular properties of biochars from five agricultural residues with pyrolysis gas chromatography mass/spectrometry (pyrolysis-GC/MS) in comparison with atomic H/C and N/C ratios. Feedstocks included chicken manure, eucalyptus sawdust, coffee husk, sugarcane bagasse and pine bark. Biochars produced at three different temperatures (T-char) were analyzed, including 350, 450 and 750 degrees C, as well as the uncharred materials. The optimum temperature during analysis with pyrolysis-GC/MS (T-py) was examined. T-py 600 degrees C gave the best results for all T-char by showing a larger diversity of pyrolysis products compared to T-py 700 degrees C and 800 degrees C; T-py 600 degrees C was therefore used for qualitative and quantitative comparison of the samples. Charring temperature was the dominant factor that determined the chemical composition of the biochar pyrolysates. Uncharged feedstocks had the largest contribution from carbohydrates, lignin phenols and long chain n-alkanes, all of which rapidly decreased with charring; biochars produced at T-char 350 and 450 degrees C showed the largest contribution from phenols, mid-chain n-alkanes, benzofurans, indenes, biphenyls and PAHs, from which the benzofurans, indenes, biphenyls and PAHs were particular abundant in samples produced at T-char 450 degrees C; pyrolysates of biochars produced at T-char 750 degrees C were characterized by branched aliphatics, short chain n-alkanes/nalkenes and low molecular weight (LMW) benzenes. Factor analysis showed that the variation of products differed largely within some chemical groups. For the N-containing compounds, caffeine, C-16 alkylnitrile and diketopiperazines were associated with uncharred materials, benzonitriles and quinolines were associated with T-char 350-450 degrees C. Another part of the variation of N-containing compounds was associated with chicken manure, and to a lesser extend also coffee husk, independently of T-char. For all five agricultural residues, the highest chemical diversity was found for biochar produced at T-char 350 degrees C. As the charring temperature increased, the diversity of pyrolysis products diminished.