A process for converting a hydrocarbon feedstock into olefins and also into BTX, said converting process comprising the following steps of: feeding a hydrocarbon feedstock to a first hydrocracking unit; feeding the effluent from said first hydrocracking unit to a first separation section; separating said effluent in said first separation section into one or more streams chosen from the group of a stream comprising hydrogen, a stream comprising methane, a stream comprising ethane, a stream comprising propane, a stream comprising butanes, a stream comprising C1-minus, a stream comprising C2-minus, a stream comprising C3-minus, a stream comprising C4-minus, a stream comprising C1-C2, a stream comprising C1-C3, a stream comprising C1-C4, a stream comprising C2-C3, a stream comprising C2-C4, a stream comprising C3-C4 and a stream comprising C5+; feeding said stream comprising propane to at least one dehydrogenation unit carrying out a dehydrogenation process being a catalytic process chosen from the group of combined propane/butanes dehydrogenation unit (PDH-BDH) and a propane dehydrogenation unit; feeding at least one stream chosen from the group of said stream comprising C2-minus, said stream comprising ethane and said stream comprising C1-C2 to a gas steam cracking unit and/or to a second separation unit, feeding said stream comprising butanes to at least one dehydrogenation unit carrying out a dehydrogenation process being a catalytic process chosen from the group of combined propane/butanes dehydrogenation unit (PDH-BDH) and butanes dehydrogenation unit; feeding at least one of the effluents from said dehydrogenation unit(s) and said gas steam cracking unit to said second separation section, further comprising feeding said stream comprising C5+ to a second hydrocracking unit, further comprising separating the effluent from said second hydrocracking unit into a stream comprising C4-minus, a stream comprising unconverted C5+, and a stream comprising BTX. feeding a hydrocarbon feedstock to a first hydrocracking unit; feeding the effluent from said first hydrocracking unit to a first separation section; separating said effluent in said first separation section into one or more streams chosen from the group of a stream comprising hydrogen, a stream comprising methane, a stream comprising ethane, a stream comprising propane, a stream comprising butanes, a stream comprising C1-minus, a stream comprising C2-minus, a stream comprising C3-minus, a stream comprising C4-minus, a stream comprising C1-C2, a stream comprising C1-C3, a stream comprising C1-C4, a stream comprising C2-C3, a stream comprising C2-C4, a stream comprising C3-C4 and a stream comprising C5+; feeding said stream comprising propane to at least one dehydrogenation unit carrying out a dehydrogenation process being a catalytic process chosen from the group of combined propane/butanes dehydrogenation unit (PDH-BDH) and a propane dehydrogenation unit; feeding at least one stream chosen from the group of said stream comprising C2-minus, said stream comprising ethane and said stream comprising C1-C2 to a gas steam cracking unit and/or to a second separation unit, feeding said stream comprising butanes to at least one dehydrogenation unit carrying out a dehydrogenation process being a catalytic process chosen from the group of combined propane/butanes dehydrogenation unit (PDH-BDH) and butanes dehydrogenation unit; feeding at least one of the effluents from said dehydrogenation unit(s) and said gas steam cracking unit to said second separation section, further comprising feeding said stream comprising C5+ to a second hydrocracking unit, further comprising separating the effluent from said second hydrocracking unit into a stream comprising C4-minus, a stream comprising unconverted C5+, and a stream comprising BTX.