{"id":1695,"date":"2026-10-05T09:13:00","date_gmt":"2026-10-05T13:13:00","guid":{"rendered":"https:\/\/www.xconvert.com\/blog\/?p=1695"},"modified":"2026-07-16T23:44:48","modified_gmt":"2026-07-17T03:44:48","slug":"compress-a-file-twice-generation-loss","status":"publish","type":"post","link":"https:\/\/www.xconvert.com\/blog\/compress-a-file-twice-generation-loss","title":{"rendered":"What Happens If You Compress a File Twice? (Generation Loss)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">You have probably seen a meme that has been shared so many times it looks <em>deep-fried<\/em> \u2014 blocky, washed-out, ringed with colored noise. That is not a filter or a broken download. It is what happens when a lossy file gets compressed, then re-compressed, then compressed again: each pass throws away a little more real detail, and the damage stacks. The effect has a name \u2014 <strong>generation loss<\/strong> \u2014 and it applies to JPEG photos, MP4 videos, and MP3 audio alike. This guide, checked against the definitions in Wikipedia\u2019s <em>Generation loss<\/em> and <em>Transcoding<\/em> articles and Mozilla\u2019s codec documentation, explains what actually happens when you compress a file twice, which formats are immune, and how to compress once without wrecking your file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Quick answer:<\/strong> Compressing a <strong>lossy<\/strong> file (JPEG, MP4\/H.264, MP3, AAC) a second time triggers <em>generation loss<\/em>: the file is decoded back to raw pixels or samples, then re-encoded, and the encoder discards more data on top of what the first pass already threw away. The loss is <strong>cumulative and irreversible<\/strong>, and it is <strong>worst when the second compress uses a different quality, bitrate, or codec<\/strong>. <strong>Lossless<\/strong> formats (PNG, TIFF, FLAC, WAV) do <em>not<\/em> degrade when re-saved \u2014 their decoded output is identical to the original. The rule that avoids the problem: keep the original as your master, edit from it, and compress <strong>once<\/strong>, at the end.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Jump to a section<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#generation-loss\">What generation loss actually is<\/a><\/li><li><a href=\"#lossy-vs-lossless\">Which formats degrade when re-compressed \u2014 and which don\u2019t<\/a><\/li><li><a href=\"#worst-case\">Why a second compress at different settings hurts most<\/a><\/li><li><a href=\"#rules\">When compressing twice is fine, and the rules that keep quality<\/a><\/li><li><a href=\"#tool\">Compress once, from the original, on xconvert<\/a><\/li><li><a href=\"#faq\">FAQ<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"generation-loss\">What generation loss actually is<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u201cGeneration loss is the loss of quality between subsequent copies or transcodes of data\u201d (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Generation_loss\">Wikipedia: Generation loss<\/a>). The term comes from analog tape and film, where each copy of a copy was visibly worse than the last. Digital lossy compression recreates the same problem for the same underlying reason: it does not store your file exactly \u2014 it stores a smaller <em>approximation<\/em> and throws the rest away.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here is the mechanism that matters. A lossy format only exists as compressed data on disk, so any time an app touches it, it first <strong>decodes<\/strong> it back into raw pixels or audio samples. Those raw pixels already contain the artifacts from the previous compression \u2014 they are baked in as if they were real detail. Edit or re-save, and the encoder <strong>re-compresses that already-degraded image<\/strong>, discarding a fresh round of data on top. As the transcoding literature puts it: \u201cIf one wishes to edit data in a compressed format (for instance, perform image editing on a JPEG image), one will generally decode it, edit it, then re-encode it. This re-encoding causes digital generation loss\u201d (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Transcoding\">Wikipedia: Transcoding<\/a>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So what happens if you compress a file twice? You stack <strong>two generations<\/strong> of loss. Compress it ten times and you stack ten. \u201cCompression artifacts are cumulative, so transcoding causes a progressive loss of quality with each successive generation, known as digital generation loss\u201d (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Transcoding\">Wikipedia: Transcoding<\/a>). And none of it comes back \u2014 \u201clossy compression throws away some data which cannot be restored\u201d (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Generation_loss\">Wikipedia: Generation loss<\/a>). There is no filter, quality slider, or format conversion that recovers detail a lossy encoder has already deleted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The visible symptoms differ by medium \u2014 blockiness and ringing in images, smeared motion in video, a hollow \u201cunderwater\u201d quality in audio \u2014 but the cause is identical. (The JPEG case has its own signature; see <a href=\"https:\/\/www.xconvert.com\/blog\/why-is-my-jpeg-blurry-after-saving\">why your JPEG looks blurry after saving<\/a>.)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"lossy-vs-lossless\">Which formats degrade when re-compressed \u2014 and which don\u2019t<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The single line that decides whether re-compressing hurts is <strong>lossy vs lossless<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Lossy<\/strong> formats discard data by design, and they lose more on every re-encode. JPEG is \u201cthe most widely used lossy compression format for still images\u201d (<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/Media\/Guides\/Formats\/Image_types\">MDN: Image file type and format guide<\/a>); MP3 and AAC are both listed as <em>Lossy<\/em> in Mozilla\u2019s audio codec tables (<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/Media\/Guides\/Formats\/Audio_codecs\">MDN: Web audio codec guide<\/a>); the H.264\/HEVC video most phones and cameras produce is lossy too. For all of them, \u201cgeneration loss can still occur when using lossy video or audio compression codecs as these introduce artifacts into the source material with each encode or reencode\u201d (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Generation_loss\">Wikipedia: Generation loss<\/a>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Lossless<\/strong> formats do not have this problem. \u201cLossless compression is, by definition, fully reversible\u201d (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Generation_loss\">Wikipedia: Generation loss<\/a>), so re-saving one produces a bit-for-bit identical file. PNG \u201cuses lossless compression\u201d (<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/Media\/Guides\/Formats\/Image_types\">MDN: Image types<\/a>); FLAC is lossless, meaning \u201cthe decompressed audio is identical to the original\u201d (<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/Media\/Guides\/Formats\/Audio_codecs\">MDN: Audio codecs<\/a>). Re-save a PNG a hundred times and it is the same image; re-encode a FLAC to FLAC and you lose nothing.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Format<\/th><th>Lossy or lossless<\/th><th>Degrades when re-compressed?<\/th><\/tr><\/thead><tbody><tr><td><strong>JPEG<\/strong> (photos)<\/td><td>Lossy<\/td><td>Yes \u2014 each re-save adds loss<\/td><\/tr><tr><td><strong>MP4 \/ H.264, HEVC<\/strong> (video)<\/td><td>Lossy<\/td><td>Yes \u2014 each re-encode adds loss<\/td><\/tr><tr><td><strong>MP3, AAC<\/strong> (audio)<\/td><td>Lossy<\/td><td>Yes \u2014 each re-encode adds loss<\/td><\/tr><tr><td><strong>PNG, TIFF<\/strong> (images)<\/td><td>Lossless<\/td><td>No \u2014 re-saves are exact<\/td><\/tr><tr><td><strong>FLAC, ALAC, WAV<\/strong> (audio)<\/td><td>Lossless<\/td><td>No \u2014 re-encodes are exact<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">One nuance people get backwards: a lossless format protects you only <em>going forward<\/em>. Converting an already-lossy file <em>into<\/em> a lossless one does not undo the earlier damage \u2014 it just freezes the current, degraded state at a larger file size. Saving a compressed MP3 as FLAC will not restore the frequencies MP3 removed, and re-wrapping a JPEG as PNG will not un-blur it. (This is exactly why <a href=\"https:\/\/www.xconvert.com\/blog\/does-converting-mp3-to-flac-improve-quality\">converting MP3 to FLAC does not improve quality<\/a>.) To benefit from lossless, the master has to be lossless <em>from the start<\/em>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"worst-case\">Why a second compress at different settings hurts most<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Not every re-compression is equally bad. The damage is worst when the second pass changes the <em>rules<\/em> the encoder plays by. Wikipedia is explicit: \u201cConverting between lossy formats \u2013 be it decoding and re-encoding to the same format, between different formats, or between different bitrates or parameters of the same format \u2013 causes generation loss\u201d (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Generation_loss\">Wikipedia: Generation loss<\/a>). And loss compounds fastest \u201cif the parameters used are not consistent across generations\u201d (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Generation_loss\">Wikipedia: Generation loss<\/a>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In practice, the biggest offenders are:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Changing the codec or format.<\/strong> Every codec has its own model of what eyes and ears will not miss, so each conversion invents a <em>new<\/em> set of artifacts on top of the old. Round-tripping a video MP4 \u2192 WebM \u2192 MP4, or an MP3 \u2192 AAC, layers two codecs\u2019 worth of loss \u2014 the platform-hopping problem, where a clip re-uploaded across apps that each re-encode it looks worse every hop.<\/li><li><strong>Changing the quality or bitrate.<\/strong> Re-saving a JPEG at a different quality, or an MP3 at a different bitrate, means the new compression grid no longer lines up with the old, so the encoder re-quantizes everything from scratch.<\/li><li><strong>Editing that shifts the data.<\/strong> Cropping, rotating, or resizing before the second save moves the underlying blocks out of alignment and forces a full re-encode.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The least-bad re-compression, when you truly cannot avoid one, is the <em>same<\/em> codec at the <em>same or higher<\/em> settings \u2014 because the parameters stay consistent. It still is not free. Only a lossless format loses nothing.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"rules\">When compressing twice is fine, and the rules that keep quality<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">None of this means compression is bad. Compressing an <strong>original once<\/strong> is completely normal \u2014 a single lossy encode of a clean source usually looks and sounds excellent. Generation loss is a problem of <em>repetition and chaining<\/em>, not of compressing once.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A second compress is a reasonable, bounded trade-off when:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>You are compressing the <strong>master for the first time<\/strong> to hit a size target \u2014 that is a first-generation encode, not a stack.<\/li><li>You have <strong>only a compressed copy<\/strong> and must shrink it once more to clear a hard limit (an email cap, an upload ceiling). One extra generation to meet a real constraint is fine; just do not make it a habit, and keep the same format if you can.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">To keep quality across a whole project, the guidance from the standards literature is consistent: \u201cthe most practical solution insofar as minimizing loss of quality is for the original recording to be deemed the master copy, and for desired subsequent transcoded versions \u2026 to be transcoded only from that master copy\u201d (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Transcoding\">Wikipedia: Transcoding<\/a>). Mozilla frames the same rule for audio \u2014 choose lossless \u201cbecause you require archival-quality storage, or because the audio samples will be remixed and recompressed, and you wish to avoid the amplification of artifacts in the audio due to recompression\u201d (<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/Media\/Guides\/Formats\/Audio_codecs\">MDN: Audio codecs<\/a>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The workflow that follows from it:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Keep the original.<\/strong> The camera, screen-recorder, or studio original \u2014 or the highest-quality copy you have \u2014 is your master. Never delete it.<\/li><li><strong>Edit from the master, not from a previous export.<\/strong> Reopen the original for each change instead of yesterday\u2019s compressed file.<\/li><li><strong>Work lossless mid-edit.<\/strong> If you will make several rounds of edits, keep the working copy in a lossless format (PNG or TIFF for images, WAV or FLAC for audio) so the in-between saves lose nothing.<\/li><li><strong>Compress once, at the end, from the master<\/strong> \u2014 a single lossy encode to your target size or quality.<\/li><li><strong>Need another size? Go back to the master<\/strong> and encode again. Do not re-compress the export.<\/li><li><strong>Match or reduce, never inflate.<\/strong> Do not enlarge an image or raise a bitrate hoping to recover quality \u2014 the detail is gone, and you only add file size.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"tool\">Compress once, from the original, on xconvert<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When you do need a smaller file, the cure for generation loss is procedural: compress the <strong>original once<\/strong>, rather than a copy that has already been through the mill. The xconvert <strong><a href=\"https:\/\/www.xconvert.com\/compress-jpeg\">JPEG Compressor<\/a><\/strong> is the clearest case, because image re-save damage is the most visible:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Open the <strong><a href=\"https:\/\/www.xconvert.com\/compress-jpeg\">JPEG Compressor<\/a><\/strong> and click <strong>+ Add Image Files<\/strong> to upload your original photo \u2014 the master, not a version you have already compressed. You can also pull it from Google Drive or Dropbox.<\/li><li>Open <strong>Advanced Options<\/strong> (the gear icon).<\/li><li>Choose how to size it: <strong>Target file size (%)<\/strong> (labeled <em>Best<\/em>) or <strong>Specific file size<\/strong> to hit an exact cap, or <strong>Image Quality (%)<\/strong> to set the quality level directly.<\/li><li>Set your target with the <strong>File size (%)<\/strong> slider (or type the size), and leave <strong>File extension<\/strong> on <strong>JPEG<\/strong> (or <em>Same as source<\/em>).<\/li><li>Download the single, cleanly re-encoded result \u2014 one deliberate generation of loss instead of a stack of accidental ones.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Your file is uploaded over an encrypted connection, is processed on our servers, and is deleted automatically a few hours later \u2014 no install, no sign-up, no watermark. If your source is not a JPEG, the <strong><a href=\"https:\/\/www.xconvert.com\/image-compressor\">Image Compressor<\/a><\/strong> applies the same one-pass approach across 35+ input formats.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The identical logic holds for video and audio: compress the source clip or recording <em>once<\/em>, rather than re-exporting a file that is already compressed \u2014 and if you will edit repeatedly, start from a lossless master, because no later conversion can restore what the first lossy encode removed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">FAQ<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\">Does compressing a file twice reduce quality?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Yes, if it is a lossy file<\/strong> (JPEG, MP4, MP3, AAC). The second compress decodes the already-compressed file and re-encodes it, discarding more data on top of the first pass \u2014 Wikipedia calls this generation loss and notes the artifacts are \u201ccumulative\u201d (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Transcoding\">Wikipedia: Transcoding<\/a>). Lossless files (PNG, TIFF, FLAC, WAV) are the exception: re-saving them is exact.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">What is generation loss?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">\u201cGeneration loss is the loss of quality between subsequent copies or transcodes of data\u201d (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Generation_loss\">Wikipedia: Generation loss<\/a>). In digital terms, every time a lossy file is re-encoded the codec throws away a bit more detail, so quality degrades progressively with each generation \u2014 like a photocopy of a photocopy. It is <strong>irreversible<\/strong>: the discarded data \u201ccannot be restored.\u201d<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Does compressing a PNG or other lossless file twice lose quality?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>No.<\/strong> PNG \u201cuses lossless compression\u201d (<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/Media\/Guides\/Formats\/Image_types\">MDN: Image types<\/a>), and lossless compression is \u201cby definition, fully reversible\u201d (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Generation_loss\">Wikipedia: Generation loss<\/a>), so re-saving a PNG produces a bit-identical image. The same holds for TIFF, FLAC, and WAV. Only lossy formats accumulate generation loss.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Can I recover quality by converting a compressed file to a lossless format?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>No.<\/strong> Converting a lossy file to a lossless one (MP3 \u2192 FLAC, or JPEG \u2192 PNG) only freezes its current, already-degraded state \u2014 it cannot restore data the lossy encoder already deleted, and it makes the file larger for no quality gain. The lossless benefit applies only going forward, from a clean source. See <a href=\"https:\/\/www.xconvert.com\/blog\/does-converting-mp3-to-flac-improve-quality\">does converting MP3 to FLAC improve quality?<\/a><\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Is it worse to compress with a different format or tool the second time?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Yes.<\/strong> Wikipedia notes that converting \u201cbetween different formats, or between different bitrates or parameters of the same format\u201d causes generation loss, and that the artifacts are cumulative across generations (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Generation_loss\">Wikipedia: Generation loss<\/a>). Re-encoding a video MP4 \u2192 WebM \u2192 MP4, or MP3 \u2192 AAC, layers each codec\u2019s artifacts on the last. Re-compressing with the same codec at the same-or-higher settings loses the least \u2014 but only lossless loses nothing.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Is it bad to compress an original once?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>No \u2014 that is normal and usually looks excellent.<\/strong> A single lossy encode of a clean master is exactly what a compressor is for. The damage comes from repeatedly re-compressing an already-compressed copy, or chaining conversions across formats. Compress once, from the master, and keep the original.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Sources<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Last verified 2026-07-16.<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Generation_loss\">Wikipedia \u2014 Generation loss<\/a> \u2014 definition of generation loss; that lossy video\/audio codecs and repeatedly re-saved JPEGs accumulate loss each encode; that lossy loss \u201ccannot be restored\u201d while lossless compression is \u201cfully reversible\u201d; and that converting between lossy formats, bitrates, or parameters causes loss (worst when parameters are inconsistent).<\/li><li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Transcoding\">Wikipedia \u2014 Transcoding<\/a> \u2014 that compression artifacts are cumulative and transcoding causes progressive generation loss with each generation; that decode-edit-re-encode degrades quality; and the recommendation to treat the original as the master copy and transcode only from it.<\/li><li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/Media\/Guides\/Formats\/Image_types\">MDN \u2014 Image file type and format guide<\/a> \u2014 JPEG as the most widely used lossy still-image format; PNG as lossless; guidance to use a lossless format for text, screenshots, and detail-critical images.<\/li><li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/Media\/Guides\/Formats\/Audio_codecs\">MDN \u2014 Web audio codec guide<\/a> \u2014 MP3 and AAC listed as lossy codecs; FLAC lossless with decompressed audio \u201cidentical to the original\u201d; and the recommendation to keep lossless when audio will be \u201cremixed and recompressed\u201d to avoid \u201camplification of artifacts \u2026 due to recompression.\u201d<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Compress a file twice and you get generation loss: each lossy re-encode discards more data. What degrades, what&#8217;s safe, and how to compress once.<\/p>\n","protected":false},"author":3,"featured_media":1694,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,14],"tags":[],"class_list":["post-1695","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to-guides","category-tools"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What Happens If You Compress a File Twice? (Generation Loss)<\/title>\n<meta name=\"description\" content=\"Compress a file twice and you get generation loss: each lossy re-encode discards more data. What degrades, what&#039;s safe, and how to compress once.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.xconvert.com\/blog\/compress-a-file-twice-generation-loss\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Happens If You Compress a File Twice? (Generation Loss)\" \/>\n<meta property=\"og:description\" content=\"Compress a file twice and you get generation loss: each lossy re-encode discards more data. What degrades, what&#039;s safe, and how to compress once.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.xconvert.com\/blog\/compress-a-file-twice-generation-loss\" \/>\n<meta property=\"og:site_name\" content=\"XConvert Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/xconvertcom\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-05T13:13:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/07\/featured-96.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"James\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@xconvert_com\" \/>\n<meta name=\"twitter:site\" content=\"@xconvert_com\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-a-file-twice-generation-loss#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-a-file-twice-generation-loss\"},\"author\":{\"name\":\"James\",\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/#\\\/schema\\\/person\\\/3434db135e6a7f239ba8414244df9845\"},\"headline\":\"What Happens If You Compress a File Twice? (Generation Loss)\",\"datePublished\":\"2026-10-05T13:13:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-a-file-twice-generation-loss\"},\"wordCount\":2331,\"image\":{\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-a-file-twice-generation-loss#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/featured-96.png\",\"articleSection\":[\"How To Guides\",\"Tools\"],\"inLanguage\":\"en-CA\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-a-file-twice-generation-loss\",\"url\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-a-file-twice-generation-loss\",\"name\":\"What Happens If You Compress a File Twice? (Generation Loss)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-a-file-twice-generation-loss#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-a-file-twice-generation-loss#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/featured-96.png\",\"datePublished\":\"2026-10-05T13:13:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/#\\\/schema\\\/person\\\/3434db135e6a7f239ba8414244df9845\"},\"description\":\"Compress a file twice and you get generation loss: each lossy re-encode discards more data. What degrades, what's safe, and how to compress once.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-a-file-twice-generation-loss#breadcrumb\"},\"inLanguage\":\"en-CA\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-a-file-twice-generation-loss\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-CA\",\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-a-file-twice-generation-loss#primaryimage\",\"url\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/featured-96.png\",\"contentUrl\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/featured-96.png\",\"width\":2400,\"height\":1260,\"caption\":\"The xconvert JPEG compressor at \\\/compress-jpeg with the + Add Image Files upload button highlighted \u2014 compress your original once to avoid generation loss\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-a-file-twice-generation-loss#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.xconvert.com\\\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Happens If You Compress a File Twice? (Generation Loss)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/\",\"name\":\"XConvert Blog\",\"description\":\"Blog for XConvert file converter\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-CA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/#\\\/schema\\\/person\\\/3434db135e6a7f239ba8414244df9845\",\"name\":\"James\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-CA\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/46be416a360dc6b95bffc4b116d86872c03f8d8e4c1047a3a08033742f03d04d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/46be416a360dc6b95bffc4b116d86872c03f8d8e4c1047a3a08033742f03d04d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/46be416a360dc6b95bffc4b116d86872c03f8d8e4c1047a3a08033742f03d04d?s=96&d=mm&r=g\",\"caption\":\"James\"},\"url\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/author\\\/james\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Happens If You Compress a File Twice? (Generation Loss)","description":"Compress a file twice and you get generation loss: each lossy re-encode discards more data. What degrades, what's safe, and how to compress once.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.xconvert.com\/blog\/compress-a-file-twice-generation-loss","og_locale":"en_US","og_type":"article","og_title":"What Happens If You Compress a File Twice? (Generation Loss)","og_description":"Compress a file twice and you get generation loss: each lossy re-encode discards more data. What degrades, what's safe, and how to compress once.","og_url":"https:\/\/www.xconvert.com\/blog\/compress-a-file-twice-generation-loss","og_site_name":"XConvert Blog","article_publisher":"https:\/\/www.facebook.com\/xconvertcom","article_published_time":"2026-10-05T13:13:00+00:00","og_image":[{"width":2400,"height":1260,"url":"https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/07\/featured-96.png","type":"image\/png"}],"author":"James","twitter_card":"summary_large_image","twitter_creator":"@xconvert_com","twitter_site":"@xconvert_com","twitter_misc":{"Written by":"James","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.xconvert.com\/blog\/compress-a-file-twice-generation-loss#article","isPartOf":{"@id":"https:\/\/www.xconvert.com\/blog\/compress-a-file-twice-generation-loss"},"author":{"name":"James","@id":"https:\/\/www.xconvert.com\/blog\/#\/schema\/person\/3434db135e6a7f239ba8414244df9845"},"headline":"What Happens If You Compress a File Twice? (Generation Loss)","datePublished":"2026-10-05T13:13:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.xconvert.com\/blog\/compress-a-file-twice-generation-loss"},"wordCount":2331,"image":{"@id":"https:\/\/www.xconvert.com\/blog\/compress-a-file-twice-generation-loss#primaryimage"},"thumbnailUrl":"https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/07\/featured-96.png","articleSection":["How To Guides","Tools"],"inLanguage":"en-CA"},{"@type":"WebPage","@id":"https:\/\/www.xconvert.com\/blog\/compress-a-file-twice-generation-loss","url":"https:\/\/www.xconvert.com\/blog\/compress-a-file-twice-generation-loss","name":"What Happens If You Compress a File Twice? (Generation Loss)","isPartOf":{"@id":"https:\/\/www.xconvert.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.xconvert.com\/blog\/compress-a-file-twice-generation-loss#primaryimage"},"image":{"@id":"https:\/\/www.xconvert.com\/blog\/compress-a-file-twice-generation-loss#primaryimage"},"thumbnailUrl":"https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/07\/featured-96.png","datePublished":"2026-10-05T13:13:00+00:00","author":{"@id":"https:\/\/www.xconvert.com\/blog\/#\/schema\/person\/3434db135e6a7f239ba8414244df9845"},"description":"Compress a file twice and you get generation loss: each lossy re-encode discards more data. What degrades, what's safe, and how to compress once.","breadcrumb":{"@id":"https:\/\/www.xconvert.com\/blog\/compress-a-file-twice-generation-loss#breadcrumb"},"inLanguage":"en-CA","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.xconvert.com\/blog\/compress-a-file-twice-generation-loss"]}]},{"@type":"ImageObject","inLanguage":"en-CA","@id":"https:\/\/www.xconvert.com\/blog\/compress-a-file-twice-generation-loss#primaryimage","url":"https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/07\/featured-96.png","contentUrl":"https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/07\/featured-96.png","width":2400,"height":1260,"caption":"The xconvert JPEG compressor at \/compress-jpeg with the + Add Image Files upload button highlighted \u2014 compress your original once to avoid generation loss"},{"@type":"BreadcrumbList","@id":"https:\/\/www.xconvert.com\/blog\/compress-a-file-twice-generation-loss#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.xconvert.com\/blog"},{"@type":"ListItem","position":2,"name":"What Happens If You Compress a File Twice? (Generation Loss)"}]},{"@type":"WebSite","@id":"https:\/\/www.xconvert.com\/blog\/#website","url":"https:\/\/www.xconvert.com\/blog\/","name":"XConvert Blog","description":"Blog for XConvert file converter","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.xconvert.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-CA"},{"@type":"Person","@id":"https:\/\/www.xconvert.com\/blog\/#\/schema\/person\/3434db135e6a7f239ba8414244df9845","name":"James","image":{"@type":"ImageObject","inLanguage":"en-CA","@id":"https:\/\/secure.gravatar.com\/avatar\/46be416a360dc6b95bffc4b116d86872c03f8d8e4c1047a3a08033742f03d04d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/46be416a360dc6b95bffc4b116d86872c03f8d8e4c1047a3a08033742f03d04d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/46be416a360dc6b95bffc4b116d86872c03f8d8e4c1047a3a08033742f03d04d?s=96&d=mm&r=g","caption":"James"},"url":"https:\/\/www.xconvert.com\/blog\/author\/james"}]}},"_links":{"self":[{"href":"https:\/\/www.xconvert.com\/blog\/wp-json\/wp\/v2\/posts\/1695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xconvert.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xconvert.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xconvert.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xconvert.com\/blog\/wp-json\/wp\/v2\/comments?post=1695"}],"version-history":[{"count":1,"href":"https:\/\/www.xconvert.com\/blog\/wp-json\/wp\/v2\/posts\/1695\/revisions"}],"predecessor-version":[{"id":1696,"href":"https:\/\/www.xconvert.com\/blog\/wp-json\/wp\/v2\/posts\/1695\/revisions\/1696"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xconvert.com\/blog\/wp-json\/wp\/v2\/media\/1694"}],"wp:attachment":[{"href":"https:\/\/www.xconvert.com\/blog\/wp-json\/wp\/v2\/media?parent=1695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xconvert.com\/blog\/wp-json\/wp\/v2\/categories?post=1695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xconvert.com\/blog\/wp-json\/wp\/v2\/tags?post=1695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}