Pillbugs are crustaceans, not insects. Though they’re often associated with insects and are referred to as “bugs,” pillbugs actually belong to the subphylum Crustacea.
They’re much more closely related to shrimp and crayfish than to any kind of insect. [x]
Source: Learn about Interesting Facts and Amazing Facts plus a whole lot of Fun Facts and Strange Facts