GO:0034483: heparan sulfate sulfotransferase activity
Catalysis of the reaction: 3"-phosphoadenosine 5"-phosphosulfate + heparan sulfate = adenosine 3",5"-bisphosphate + sulfated heparan sulfate.