Sulfur and nitrogen-doped graphene quantum dots/polyaniline nanocomposites were synthesized and their electrochemical charge storage properties were tested for supercapacitor applications.