REFERENCE LIBRARY
Image and document format reference
A practical reference for choosing a file format before you compress or convert anything. Each entry states what the format is good at, what it loses, where it is supported, and which Berlvis tool converts into or out of it. Sizes quoted below are typical ranges for photographic content at visually comparable quality, not guarantees: the actual result depends on the image, the encoder and the quality setting you choose, which is why every Berlvis converter shows the output size before you download.
JPG (JPEG) - the safe default for photographs
Lossy, no transparency, universally supported by every browser, printer, portal and phone made in the last thirty years. Compression is cumulative: each re-save of an already compressed JPG discards more detail, visible first on text edges and flat gradients. Choose JPG when the receiving system is old, unknown, or explicitly asks for JPG. Quality 75-85 is usually indistinguishable from the original at normal viewing size; below 50 blocking artefacts appear around high-contrast edges.
PNG - lossless, transparent, and large
Lossless with full alpha transparency. Ideal for logos, screenshots of text, diagrams and anything with flat colour or hard edges, because lossless means no artefacts around type. Poor for photographs: a photo saved as PNG is typically 4-10x larger than the same photo as a quality-85 JPG, since PNG's compression exploits repeated colour, which photographs do not have. If a PNG screenshot is too heavy, convert to WebP rather than JPG so you keep the sharp text.
WebP - the modern web default
Supports both lossy and lossless modes plus transparency, and is supported by every current browser. At visually comparable quality WebP is commonly 25-35% smaller than JPG for photographs and often smaller than PNG for graphics with transparency. The trade-off is outside the browser: some older desktop software, print workflows and government upload portals still reject .webp. Use it for websites and app assets; convert back to JPG or PNG when submitting to a portal.
AVIF - smallest files, slowest encode
Based on the AV1 video codec. Typically the smallest of the four at a given perceived quality, frequently well below WebP, with transparency and wide colour support. Costs are encode time (noticeably slower in a browser, especially on phones) and compatibility: support is good in current browsers but poor in older software and many upload systems. Best for a website you control and can serve with a JPG fallback.
HEIC - what your iPhone actually saved
Apple's default camera format. Efficient, but not accepted by most Windows software, Nigerian and international upload portals, or older browsers, which is why a photo that looks fine on an iPhone is often rejected on submission. Convert HEIC to JPG before uploading anywhere that has not explicitly said it accepts HEIC.
PDF - a container, not an image format
A PDF can hold vector text, embedded fonts and images all at once, which is why PDF size depends far more on what is inside than on the page count. A ten-page text PDF exported from a word processor is often under 200 KB; a two-page scan of the same document can exceed 10 MB because each page is a full-resolution photograph. That distinction matters when a file is too big for email: compressing a scanned PDF works well, while compressing a text PDF that is already small changes almost nothing.
Picking a format in one line
Photograph going to a portal or printer: JPG. Screenshot, logo or anything with text: PNG, or WebP if size matters. Website you control: WebP, or AVIF with a JPG fallback. iPhone photo going anywhere else: convert to JPG. Multi-page document: PDF, and compress it only if the pages are scans.
Continue exploring
Frequently asked questions
Does converting between formats lose quality?
Converting into a lossy format (JPG, WebP lossy, AVIF, HEIC) discards detail permanently, and repeating it compounds the loss. Converting into a lossless format (PNG, WebP lossless) does not add loss, but it cannot recover detail already discarded by an earlier lossy save.
Why is my WebP file rejected by an upload form?
Many upload forms whitelist file extensions and were written before WebP was common. Convert the file back to JPG or PNG for that submission; the reference above lists which Berlvis tool does each conversion.
Why did compressing my PDF barely change the size?
Because it was probably a text PDF, where almost all the bytes are fonts and vector text rather than images. PDF compression mainly works by re-encoding embedded images, so scans shrink dramatically and text documents hardly move.
Which format gives the smallest file?
For photographs at a given perceived quality the usual order, smallest first, is AVIF, then WebP, then JPG, then PNG. For flat-colour graphics and screenshots, lossless WebP and PNG can beat both lossy formats while staying sharp.