Heparan sulfate 6-sulfotransferases catalyses the transfer of sulfate from adenosine 3'-phosphate, 5'-phosphosulfate to the 6th position of the N-sulfoglucosamine residue in heparan sulfate.