Hydrogen plant comprising : - At least one reformer for converting a hydrocarbon feedstock into a gas stream comprising hydrogen, carbon monoxide and at least one hydrocarbon as impurity, said reformer comprising a fired tubular reformer , a radiant section , a convection section and a heat recovery section , - One water gas shift (WGS) reactor for converting the carbon monoxide of the gas stream into carbon dioxide and hydrogen, - A carbon dioxide removal unit downstream of the WGS reactor and configured to remove carbon dioxide from the gas stream, - A hydrogen recovery unit downstream of the carbon dioxide removal unit for producing a hydrogen-enriched gas stream and a waste gas stream , - A passageway for feeding the radiant section of the reformer with a first part of the waste gas stream from hydrogen recovery unit, - A compressor for compressing a second part of the waste gas stream from hydrogen recovery unit , - A hydrogen-permeating membrane separation system configured to be fed by the compressed second part of the waste gas stream and to produce a hydrogen-enriched permeate and a hydrocarbon-enriched retentate , - Passageway for recycling the hydrogen-enriched permeate in the radiant section of the reformer, and - Passageway for recycling the hydrocarbon-enriched retentate upstream of the reformer in the hydrocarbon feedstock, with the reformer comprising a recuperative reformer in the radiant section and/or in parallel a heat exchanger reformer , whereby the recuperative reformer is a reformer consisting of one or more more tubular catalyst tubes where the catalyst tubes comprise of an outer annulus with a catalyst bed and whereby the recuperative reformer is configured in such a manner that the heat required for the reforming is provided from the outside by the radiant section as well from the inner tubes/ annulus inside which the reformate formed on the catalyst bed is cooled down to exchange heat to the catalyst and to then exit said tubes at a lower temperature than the catalyst outlet temperature. - At least one reformer for converting a hydrocarbon feedstock into a gas stream comprising hydrogen, carbon monoxide and at least one hydrocarbon as impurity, said reformer comprising a fired tubular reformer , a radiant section , a convection section and a heat recovery section , - One water gas shift (WGS) reactor for converting the carbon monoxide of the gas stream into carbon dioxide and hydrogen, - A carbon dioxide removal unit downstream of the WGS reactor and configured to remove carbon dioxide from the gas stream, - A hydrogen recovery unit downstream of the carbon dioxide removal unit for producing a hydrogen-enriched gas stream and a waste gas stream , - A passageway for feeding the radiant section of the reformer with a first part of the waste gas stream from hydrogen recovery unit, - A compressor for compressing a second part of the waste gas stream from hydrogen recovery unit , - A hydrogen-permeating membrane separation system configured to be fed by the compressed second part of the waste gas stream and to produce a hydrogen-enriched permeate and a hydrocarbon-enriched retentate , - Passageway for recycling the hydrogen-enriched permeate in the radiant section of the reformer, and - Passageway for recycling the hydrocarbon-enriched retentate upstream of the reformer in the hydrocarbon feedstock, <EOS>