Device for preparing a filter (14) comprises a filter holder (12) for heating a filter, and a pyrolysis unit (22) for feeding expulsion waste gases from the filter holder. The pyrolysis unit has a pyrolysis cell in which the expulsion waste gases are impinged with electromagnetic waves. An Independent claim is also included for a device for cleaning a pollutant-laden filter containing the above device.