Carrying knives more than 5.5 inches is completely illegal in Japan. As it is considered to be a deadly weapon, so not a general citizen can carry it, neither a sword. However, one can carry a sword or a knife for any special purpose with the government’s permission.