The law directs that it is illegal to carry dangerous weapons openly or concealed with intent to commit a crime. Still, it does not generally prohibit the ownership and carrying of knives.
In California, folded pocket knives are legal, but it is illegal for any person to concealed carry any knife legally described as a “dirk” or “dagger” — the legal terms for any fixed-blade knife or stabbing weapon. ... Switchblades and other spring-loaded knives are illegal in California if their blade is 3″ or longer.