Skip to main content
to prettify

to prettify

6.7
Make code or data easier to read by adding spaces and new lines
  • verb
  • /ˈprɛtɪfaɪ/
  • Specialized
translation icon : formatear
  • She prettified the exported CSV, adding line breaks and indentation so the data looked tidy.

Examples

  • You can prettify your code with proper indentation.

  • Developers often prettify JSON outputs to make them easier to read during debugging sessions.

  • Their build script automatically prettifies source files before committing to ensure consistent style.

  • She prettifies her JSON files before sharing them.

  • The developer used software tools to prettify the JSON output, ensuring it was easy to read.

  • Before submitting the code, she decided to prettify it, adding proper indentation and comments.

  • To improve readability, he taught the interns how to prettify their HTML code with consistent spacing.

Synonyms

to neaten
vsto prettify
1 3.7

To make something tidy by arranging things in order

is used for code and data formatting rather than general tidying
to beautify
vsto prettify
  • Specialized
6.5

To change the format of computer code to make it easier to read

focuses specifically on indentation, line breaks and spacing to improve readability

Antonyms

8.5

Make something look bad and spoil its appearance

How Readable

to prettify
  • Specialized
6.7
to beautify
  • Specialized
6.5
to format
13 3.6

Surface Forms

prettify infinitive
prettified past
prettified past participle
prettifying present participle
prettifies third person singular

Morphology

prettify = pretty (transparent) = pretty + ify

The computing sense is a metaphorical extension of 'make pretty' (improve appearance/readability) formed by the same productive '-ify' process.

Etymology

Prettify is built from pretty and the suffix -fy meaning 'make', like beautify, and in computing it came to mean making code or data look neat by adding spaces, line breaks and consistent indentation so it is easier to read.