Interestingly, the coke formed over the Ni-containing ZSM-5 samples is in the form of carbon nanotubes, which grow causing a segregation of the Ni particle from the zeolite support. This effect is attenuated in the hierarchical zeolites because the secondary porosity stabilizes the metal particles. In summary, rapeseed oil can be transformed into valuable products (hydrogen, light olefins, aromatic hydrocarbons and carbon nanotubes) by using tailored Ni containing nanocrystalline and hierarchical ZSM-5 zeolites