GO:0008449:   N-acetylglucosamine-6-sulfatase activity
Catalysis of the hydrolysis of the 6-sulfate group of the N-acetyl-D-glucosamine 6-sulfate units of heparan sulfate and keratan sulfate.