formatter

NOUN
A tool, program, or person that arranges, structures, or prepares content, data, or text according to a specified layout, style, or set of rules; in computing, software or code that automatically applies consistent formatting to documents, code, or data outputs.