  The development of compact accelerator facilities providing high-brightness
beams is one of the most challenging tasks in field of next-generation compact
and cost affordable particle accelerators, to be used in many fields for
industrial, medical and research applications. The ability to shape the beam
longitudinal phase-space, in particular, plays a key role to achieve high-peak
brightness. Here we present a new approach that allows to tune the longitudinal
phase-space of a high-brightness beam by means of a plasma wakefields. The
electron beam passing through the plasma drives large wakefields that are used
to manipulate the time-energy correlation of particles along the beam itself.
We experimentally demonstrate that such solution is highly tunable by simply
adjusting the density of the plasma and can be used to imprint or remove any
correlation onto the beam. This is a fundamental requirement when dealing with
largely time-energy correlated beams coming from future plasma accelerators.
