Later era crossbows definitely outranged longbows, its mentioned many times in sieges but it is not as clear what type of crossbow they were. My opinion is that some crossbows by late 1400s carried into the field could outrange longbows but most of the time they were still less useful due to very low rate of fire and lower accuracy at those long ranges. Siege crossbows which were quite large definitely outranged any handheld bows but were not common aside from sieges.