Prettify code In order to optimize and compress your SVG files, you must first prepare them with the right settings. Images take up to 50 percent of a page's total size. This causes the page to load slowly and consume more data. For this reason, it is essential to optimize SVG files. Prettify code can help you achieve this goal. This process involves converting your text into a vector path that is optimized for SVG viewers. While it does not preserve the look and feel of the type, it will make your SVG Compressorfiles more readable. There are two ways to do this: the Presentation Attributes method and the Style Elements method. Each of these methods has its pros and cons. Both methods are useful for the same purpose, but one is more suited for certain situations.