{"id":2314,"date":"2026-12-02T12:13:13","date_gmt":"2026-12-02T17:13:13","guid":{"rendered":"https:\/\/www.xconvert.com\/blog\/?p=2314"},"modified":"2026-12-02T12:13:13","modified_gmt":"2026-12-02T17:13:13","slug":"compress-gif-forum-2mb","status":"publish","type":"post","link":"https:\/\/www.xconvert.com\/blog\/compress-gif-forum-2mb","title":{"rendered":"Compress a GIF Under a Forum&#8217;s 2 MB Upload Limit"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">You have the perfect reaction GIF for a thread, you hit <strong>Add attachment<\/strong>, and the board tells you <em>\u201cThe file is too big, maximum allowed size is 2 MiB.\u201d<\/em> Or worse, the upload bar crawls to the end and the page returns a blank error with no explanation at all. Forums are the last corner of the internet still handing out two-megabyte upload limits, and the reason is not stinginess \u2014 it is three layers of default configuration stacked on top of each other, none of which the forum admin necessarily chose.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Quick answer:<\/strong> Open <a href=\"https:\/\/www.xconvert.com\/compress-gif\">xconvert.com\/compress-gif<\/a>, leave <strong>File Compression<\/strong> on <strong>Max file size<\/strong>, open the <strong>Size limit<\/strong> dropdown and choose <strong>Forum (2 MB max)<\/strong>. That sets the limit to <strong>2,000,000 bytes<\/strong> \u2014 deliberately the decimal reading, which leaves about 97 KB of headroom under PHP\u2019s default <code>upload_max_filesize<\/code> of <code>2M<\/code> (2 MiB = 2,097,152 bytes), the setting behind most forum caps. If your board\u2019s error message names a smaller number \u2014 1 MB, 512 KB, 256 KB \u2014 use <strong>Custom size value<\/strong> instead and type it, because plenty of forums sit far below the hosting ceiling. phpBB, for one, ships with a <strong>256 KiB<\/strong> default.<\/p><\/blockquote>\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=\"#why-2mb\">Where the 2 MB number actually comes from<\/a><\/li><li><a href=\"#lower-than-chat\">Why forums cap lower than chat apps<\/a><\/li><li><a href=\"#budget\">What 2 MB buys you in a GIF<\/a><\/li><li><a href=\"#read-the-error\">Read the error, not the folklore<\/a><\/li><li><a href=\"#tool\">Cap a GIF at a forum\u2019s limit on xconvert<\/a><\/li><li><a href=\"#faq\">FAQ<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-2mb\">Where the 2 MB number actually comes from<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Almost nobody sat down and decided that two megabytes is the right size for a forum attachment. The number is inherited, and it comes from a stack of three independent ceilings \u2014 <strong>the smallest one wins, and it usually wins silently.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Layer<\/th><th>Default<\/th><th>What happens when you exceed it<\/th><\/tr><\/thead><tbody><tr><td><strong>Web server<\/strong> \u2014 nginx <code>client_max_body_size<\/code><\/td><td><code>1m<\/code><\/td><td>HTTP <strong>413 Request Entity Too Large<\/strong>. nginx\u2019s own docs note \u201cbrowsers cannot correctly display this error\u201d, which is why you get a blank page<\/td><\/tr><tr><td><strong>PHP<\/strong> \u2014 <code>upload_max_filesize<\/code><\/td><td><code>2M<\/code> (2 MiB = 2,097,152 bytes)<\/td><td>The upload is discarded before the forum\u2019s code ever sees it<\/td><\/tr><tr><td><strong>PHP<\/strong> \u2014 <code>post_max_size<\/code><\/td><td><code>8M<\/code><\/td><td>If the whole form exceeds this, <code>$_POST<\/code> and <code>$_FILES<\/code> come back <strong>empty<\/strong> \u2014 the forum thinks you submitted nothing<\/td><\/tr><tr><td><strong>Forum software<\/strong> \u2014 phpBB <code>max_filesize<\/code><\/td><td><strong>262144<\/strong> bytes (256 KiB)<\/td><td>The polite in-app error you were hoping for<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Those are the shipped defaults, straight from each project. PHP\u2019s manual lists <code>upload_max_filesize<\/code> at <code>2M<\/code> and <code>post_max_size<\/code> at <code>8M<\/code>. nginx\u2019s core module documentation lists <code>client_max_body_size 1m<\/code>. And phpBB\u2019s own installer schema inserts <code>max_filesize<\/code> as <code>262144<\/code> \u2014 256 KiB \u2014 alongside <code>max_attachments<\/code> of 3 and an <code>attachment_quota<\/code> of 52,428,800 bytes (50 MiB) per board.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So when a board advertises \u201c2 MB\u201d, what you are usually looking at is <strong>the PHP default that nobody edited.<\/strong> And when a board advertises 5 MB but still rejects your 3 MB file, you have found the layer underneath it \u2014 either nginx at <code>1m<\/code> or PHP at <code>2M<\/code>, quietly overruling the setting the admin actually changed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"lower-than-chat\">Why forums cap lower than chat apps<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Discord takes 20 MB on a free account (its figure of August 2026) and email providers commonly take 25 MB, so the gap can feel arbitrary. It is not. Forums and chat apps are different businesses with different storage physics.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Forums are usually self-hosted on a fixed disk.<\/strong> A phpBB or MyBB board runs on somebody\u2019s shared hosting plan with a hard quota. Every attachment is a permanent charge against it. Chat platforms run on object storage with effectively unlimited elastic capacity, paid for by an investor or a subscription business.<\/li><li><strong>Forum content is a permanent public archive.<\/strong> A thread from 2011 is expected to still render in 2031, images included. Nobody is planning to delete your attachment, so the cost is not \u201c2 MB\u201d, it is \u201c2 MB forever, plus backups.\u201d<\/li><li><strong>The defaults are old, and defaults are sticky.<\/strong> phpBB\u2019s 256 KiB and PHP\u2019s <code>2M<\/code> were set when they were generous, and they persist because changing them requires editing server config that most board owners never touch.<\/li><li><strong>Bandwidth on a busy thread multiplies.<\/strong> One 2 MB signature GIF on a 40-post page is 80 MB of transfer for a single page view, per visitor. Chat apps deliver from a CDN; a self-hosted board serves it from the same box running the database.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Modern platforms show the other side of this. Discourse, which is not PHP and is typically hosted rather than self-run, ships with <code>max_image_size_kb<\/code> and <code>max_attachment_size_kb<\/code> both defaulting to <strong>10240<\/strong> \u2014 10 MB, five times PHP\u2019s <code>2M<\/code> default and in the same league as the chat apps rather than the legacy boards. The 2 MB world is specifically the legacy PHP forum world, and that is still a very large part of the internet.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"budget\">What 2 MB buys you in a GIF<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Two megabytes is a real budget, not a punishment \u2014 as long as you spend it on the right axis. A GIF\u2019s size is essentially <strong>pixels \u00d7 frames \u00d7 how compressible the content is<\/strong>, and xconvert\u2019s GIF size estimator models a produced GIF at <strong>0.575 bytes per pixel-frame<\/strong>, the median across our 2026-08-22 production measurement corpus. A \u201cpixel-frame\u201d is one pixel in one frame.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Divide 2,000,000 bytes by 0.575 and you get about <strong>3.48 million pixel-frames<\/strong> to spend. Here is what that looks like at real canvas sizes:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"696\" src=\"https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/08\/forum-2mb-budget.png\" alt=\"Frames available inside a 2 MB GIF at five canvas sizes, from 15 frames at 640x360 to 107 frames at 240x135\" class=\"wp-image-2312\" srcset=\"https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/08\/forum-2mb-budget.png 1600w, https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/08\/forum-2mb-budget-300x131.png 300w, https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/08\/forum-2mb-budget-1024x445.png 1024w, https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/08\/forum-2mb-budget-768x334.png 768w, https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/08\/forum-2mb-budget-1536x668.png 1536w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Canvas<\/th><th>Frames inside 2 MB<\/th><th>Duration at 10 fps<\/th><\/tr><\/thead><tbody><tr><td>640\u00d7360<\/td><td>15<\/td><td>1.5 s<\/td><\/tr><tr><td>480\u00d7270<\/td><td>26<\/td><td>2.6 s<\/td><\/tr><tr><td>400\u00d7225<\/td><td>38<\/td><td>3.8 s<\/td><\/tr><tr><td>320\u00d7180<\/td><td>60<\/td><td>6.0 s<\/td><\/tr><tr><td>240\u00d7135<\/td><td>107<\/td><td>10.7 s<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The shape of that table is the whole trick: <strong>halving the canvas roughly quadruples the animation you can afford.<\/strong> A 640\u00d7360 GIF gets you a second and a half; the same clip at 320\u00d7180 \u2014 still perfectly readable inline in a forum post \u2014 gets you six seconds. Flat content such as UI recordings and line art beats these numbers comfortably; noisy photographic footage will not reach them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One more planning rule, from production data: in the 30 days to 15 November 2026, 7.9% of GIFs given a typed size smaller than the file ended above it (127 of 1,610 jobs). For a GIF many times over 2 MB, cut the canvas or the frame count first rather than expecting the search to close the gap on its own. The <a href=\"https:\/\/www.xconvert.com\/blog\/compress-gif-to-a-specific-size\">10 MB \/ 5 MB \/ 1 MB guide<\/a> covers the neighbouring targets, and the <a href=\"https:\/\/www.xconvert.com\/blog\/compress-gif-to-kb-100-256-512\">KB-scale guide<\/a> covers what changes when the ask drops below a megabyte.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"read-the-error\">Read the error, not the folklore<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u201cForums allow 2 MB\u201d is a useful default assumption and a bad rule. Before you compress, spend thirty seconds finding your board\u2019s actual number, because there are four separate limits it might be enforcing:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Per-file size.<\/strong> The one in the error message. Believe this number over anything in the FAQ, which is often years out of date.<\/li><li><strong>Attachments per post.<\/strong> phpBB ships with three. Splitting one large GIF into several small ones is not always an option.<\/li><li><strong>Total quota per user or per board.<\/strong> phpBB\u2019s default board-wide attachment quota is 50 MiB. On an old board you may be competing with a decade of other people\u2019s uploads.<\/li><li><strong>Signature rules.<\/strong> Signature images almost always have their own, much tighter limits \u2014 often a few hundred kilobytes plus a maximum pixel width and height. These are usually written in the board rules rather than enforced by an error message, and moderators do enforce them by hand.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Watch the units too. Forum software written in PHP tends to report <strong>MiB<\/strong> (2 MiB = 2,097,152 bytes) while calling it \u201cMB\u201d, so a file of exactly 2,000,000 bytes passes a \u201c2 MB\u201d limit with room to spare. That asymmetry is why our Forum preset targets the decimal number: when a limit is ambiguous, the smaller reading is always the safe one.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"tool\">Cap a GIF at a forum\u2019s limit on xconvert<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Open <a href=\"https:\/\/www.xconvert.com\/compress-gif\">xconvert.com\/compress-gif<\/a> and click <strong>Upload<\/strong>, or drag the GIF onto the box.<\/li><li>Leave <strong>File Compression<\/strong> on <strong>Max file size<\/strong> \u2014 it is the mode the page opens on.<\/li><li>Open the <strong>Size limit<\/strong> dropdown and choose <strong>Forum (2 MB max)<\/strong>. The other entries are <strong>Custom size %<\/strong> (the default, with a <em>Max % of original<\/em> slider that opens at 50), <strong>Custom size value<\/strong>, <strong>Discord (20 MB max)<\/strong> and <strong>Email (25 MB max)<\/strong>.<\/li><li>If your board\u2019s limit is not 2 MB, pick <strong>Custom size value<\/strong> instead, type the number into <strong>Max size<\/strong> and set the unit dropdown to <strong>KB<\/strong> or <strong>MB<\/strong> as needed. Use the number in the error message, not the one in the board rules.<\/li><li>Click <strong>Compress<\/strong> and download, then check the byte count before you upload. Max file size mode runs several encodes rather than one, so give a large GIF a minute. The limit is a ceiling the search aims under, not a guarantee: if it cannot be reached, the smallest version is delivered above the limit and the result card says so. In a test on 18 November 2026 a 5.11 MB GIF (480\u00d7270, 50 frames) came back at 1.84 MB with every frame and its dimensions kept.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">If the result comes back near your target but the animation looks rough, the solver has spent your budget on the wrong axis. Switch <strong>File Compression<\/strong> to <strong>Custom<\/strong> \u2014 it opens with Image quality at 80, Drop Frames at every 3rd frame and Resolution at 80% already on \u2014 under <strong>Image resolution<\/strong> choose <strong>Width (Keep aspect ratio)<\/strong>, switch its unit from <strong>Percent (%)<\/strong> to <strong>Pixels<\/strong> and type the width the GIF is actually displayed at in a post \u2014 320 to 400 pixels is plenty for an inline reaction GIF \u2014 then leave <strong>Drop Frames<\/strong> on <strong>Every 3rd frame<\/strong> and try again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your file is processed on our servers, not in your browser. Uploads and results are deleted automatically about 5 hours after they were written, or sooner if a server runs short of disk space.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">FAQ<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\">What exactly is the \u201cForum (2 MB max)\u201d preset set to?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2,000,000 bytes.<\/strong> It uses the decimal reading of a megabyte deliberately, which is the smaller of the two possible interpretations: PHP\u2019s <code>2M<\/code> default is 2 MiB, or 2,097,152 bytes, so a file capped at 2,000,000 bytes clears it with roughly 97 KB to spare. The neighbouring presets follow the same convention \u2014 Discord at 20,000,000 bytes and Email at 25,000,000.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">My forum says the limit is 2 MB, but a 1.9 MB file still fails. What\u2019s wrong?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">Something underneath the forum is rejecting it first. The two usual suspects are nginx, whose <code>client_max_body_size<\/code> defaults to <code>1m<\/code> and returns a 413 that browsers render as a blank or generic error page, and PHP\u2019s <code>post_max_size<\/code>, which applies to the <strong>whole form<\/strong> \u2014 your GIF plus the message body plus every other field. When <code>post_max_size<\/code> is exceeded, PHP hands the forum an empty <code>$_FILES<\/code> array, so the board often reports \u201cno file selected\u201d rather than \u201ctoo large\u201d. Try 900 KB; if that works, you have found the real ceiling.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Why can Discord take 20 MB when my forum can\u2019t take 2?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">Different storage economics. A self-hosted board stores attachments permanently on a fixed disk it pays for by the gigabyte, and serves them from the same machine running the database \u2014 a 2 MB signature GIF on a 40-post page is 80 MB of transfer per page view. Chat platforms deliver from a CDN with elastic storage. It also shows up along software lines: PHP-based forums inherit tight defaults, while Discourse ships with a 10 MB default for both images and attachments.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">My board\u2019s limit is 256 KB, not 2 MB. Is that even possible for a GIF?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, and it is phpBB\u2019s shipped default rather than an unusually strict admin. At 256 KB you have roughly 445,000 pixel-frames to spend, which is about <strong>13 frames at 240\u00d7135<\/strong> \u2014 or barely 3 at 480\u00d7270. That is a short loop at a small canvas, and there is no way around the arithmetic. Use <strong>Custom size value<\/strong> with the unit set to <strong>KB<\/strong>, and cut the canvas before you cut anything else.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Will the Forum preset change my GIF\u2019s dimensions?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">It can. In <strong>Max file size<\/strong> mode the search may lower the quality, reduce the colors, shrink the dimensions and, rarely, remove every second frame, and the result card reports what was changed \u2014 but it will not reduce the palette below <strong>32 colours<\/strong> and will not auto-scale below <strong>240 pixels wide or 35% of the source width, whichever is larger<\/strong>. If you need an exact pixel width, set it yourself under <strong>Custom \u2192 Image resolution<\/strong> rather than leaving it to the search.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Is 2 MB enough for a screen recording?<\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">Only a short one, and only if you shrink it first. A 640\u00d7360 capture gets about 15 frames inside 2 MB \u2014 a second and a half. Halve it to 320\u00d7180 and you have six seconds, which covers most \u201chere is the bug\u201d clips. If the recording genuinely needs to be longer, a forum that accepts a video link is a better home for it than a GIF that has to be destroyed to fit.<\/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-11-22.<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.php.net\/manual\/en\/ini.core.php\">PHP Manual \u2014 Description of core php.ini directives<\/a> \u2014 <code>upload_max_filesize<\/code> default <strong>2M<\/strong>; <code>post_max_size<\/code> default <strong>8M<\/strong>; \u201cIf the size of post data is greater than post_max_size, the <code>$_POST<\/code> and <code>$_FILES<\/code> superglobals are empty.\u201d<\/li><li><a href=\"https:\/\/nginx.org\/en\/docs\/http\/ngx_http_core_module.html\">nginx \u2014 ngx_http_core_module, <code>client_max_body_size<\/code><\/a> \u2014 default <code>1m<\/code>; exceeding it returns \u201cthe 413 (Request Entity Too Large) error\u201d, and \u201cbrowsers cannot correctly display this error.\u201d<\/li><li><a href=\"https:\/\/github.com\/phpbb\/phpbb\/blob\/master\/phpBB\/install\/schemas\/schema_data.sql\">phpBB \u2014 installer schema data (<code>schema_data.sql<\/code>)<\/a> \u2014 shipped defaults <code>max_filesize<\/code> <code>262144<\/code> (256 KiB), <code>max_filesize_pm<\/code> <code>262144<\/code>, <code>max_attachments<\/code> <code>3<\/code>, <code>attachment_quota<\/code> <code>52428800<\/code> (50 MiB).<\/li><li><a href=\"https:\/\/github.com\/discourse\/discourse\/blob\/main\/config\/site_settings.yml\">Discourse \u2014 <code>config\/site_settings.yml<\/code><\/a> \u2014 <code>max_image_size_kb<\/code> and <code>max_attachment_size_kb<\/code> both default to <code>10240<\/code>.<\/li><li><strong>xconvert source and production measurement<\/strong> \u2014 the Size limit presets resolve to exact byte values: <code>PRESET_FORUM<\/code> 2,000,000, <code>PRESET_DISCORD<\/code> 20,000,000, <code>PRESET_EMAIL<\/code> 25,000,000, using SI-decimal megabytes (worker code read 2026-11-18). In the 30 days to 15 November 2026, 7.9% of GIFs given a typed size smaller than the file ended above it. The size estimator uses 0.575 bytes per pixel-frame (2026-08-22 corpus); solver floors are a 32-colour palette and a downscale floor of max(240 px, 35% of source width).<\/li><li><a href=\"https:\/\/support.discord.com\/hc\/en-us\/articles\/25444343291031-File-Attachments-FAQ\">Discord Support \u2014 File Attachments FAQ<\/a> \u2014 read through Discord\u2019s help-centre API on 18 November 2026 (the page itself answered 403 to an automated read) \u2014 \u201cFor non-Nitro subscribers, the maximum file upload is 20MB\u201d and \u201cAs of August 2026, the free upload limit is 20MB (up from 10MB)\u201d. The preset label on the page reads <code>Discord (20 MB max)<\/code> (rendered 2026-11-18).<\/li><li><a href=\"https:\/\/www.xconvert.com\/compress-gif\">xconvert GIF compressor<\/a> \u2014 live tool; controls verified: <strong>File Compression<\/strong> opens on <strong>Max file size<\/strong>, whose <strong>Size limit<\/strong> dropdown contains <em>Custom size %<\/em> (default), <em>Custom size value<\/em> (with a <strong>Max size<\/strong> field and a <strong>B \/ KB \/ MB<\/strong> unit dropdown), <em>Discord (20 MB max)<\/em>, <em>Email (25 MB max)<\/em> and <strong>Forum (2 MB max)<\/strong>; switching to <strong>Custom<\/strong> reveals <em>Image Quality (%)<\/em>, <em>Drop Frames \u2192 Frames To Drop<\/em> (<strong>Every 3rd frame<\/strong> preselected), <em>Image resolution<\/em> and <em>Colors<\/em>.<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Compress a GIF to 2 MB for a forum: where that limit comes from (PHP, nginx, phpBB defaults), what 2 MB buys you, and the Forum preset that caps it.<\/p>\n","protected":false},"author":3,"featured_media":2311,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,14],"tags":[],"class_list":["post-2314","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 v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Compress a GIF Under a Forum&#039;s 2 MB Upload Limit<\/title>\n<meta name=\"description\" content=\"Compress a GIF to 2 MB for a forum: where that limit comes from (PHP, nginx, phpBB defaults), what 2 MB buys you, and the Forum preset that caps it.\" \/>\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-gif-forum-2mb\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Compress a GIF Under a Forum&#039;s 2 MB Upload Limit\" \/>\n<meta property=\"og:description\" content=\"Compress a GIF to 2 MB for a forum: where that limit comes from (PHP, nginx, phpBB defaults), what 2 MB buys you, and the Forum preset that caps it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.xconvert.com\/blog\/compress-gif-forum-2mb\" \/>\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-12-02T17:13:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/08\/featured-98.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"840\" \/>\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-gif-forum-2mb#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-gif-forum-2mb\"},\"author\":{\"name\":\"James\",\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/#\\\/schema\\\/person\\\/3434db135e6a7f239ba8414244df9845\"},\"headline\":\"Compress a GIF Under a Forum&#8217;s 2 MB Upload Limit\",\"datePublished\":\"2026-12-02T17:13:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-gif-forum-2mb\"},\"wordCount\":2266,\"image\":{\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-gif-forum-2mb#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/featured-98.png\",\"articleSection\":[\"How To Guides\",\"Tools\"],\"inLanguage\":\"en-CA\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-gif-forum-2mb\",\"url\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-gif-forum-2mb\",\"name\":\"Compress a GIF Under a Forum's 2 MB Upload Limit\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-gif-forum-2mb#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-gif-forum-2mb#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/featured-98.png\",\"datePublished\":\"2026-12-02T17:13:13+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/#\\\/schema\\\/person\\\/3434db135e6a7f239ba8414244df9845\"},\"description\":\"Compress a GIF to 2 MB for a forum: where that limit comes from (PHP, nginx, phpBB defaults), what 2 MB buys you, and the Forum preset that caps it.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-gif-forum-2mb#breadcrumb\"},\"inLanguage\":\"en-CA\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-gif-forum-2mb\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-CA\",\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-gif-forum-2mb#primaryimage\",\"url\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/featured-98.png\",\"contentUrl\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/featured-98.png\",\"width\":1600,\"height\":840,\"caption\":\"The xconvert GIF compressor at \\\/compress-gif with the Upload button highlighted \u2014 add a GIF and cap it with the Forum (2 MB max) size limit\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.xconvert.com\\\/blog\\\/compress-gif-forum-2mb#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.xconvert.com\\\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Compress a GIF Under a Forum&#8217;s 2 MB Upload Limit\"}]},{\"@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":"Compress a GIF Under a Forum's 2 MB Upload Limit","description":"Compress a GIF to 2 MB for a forum: where that limit comes from (PHP, nginx, phpBB defaults), what 2 MB buys you, and the Forum preset that caps it.","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-gif-forum-2mb","og_locale":"en_US","og_type":"article","og_title":"Compress a GIF Under a Forum's 2 MB Upload Limit","og_description":"Compress a GIF to 2 MB for a forum: where that limit comes from (PHP, nginx, phpBB defaults), what 2 MB buys you, and the Forum preset that caps it.","og_url":"https:\/\/www.xconvert.com\/blog\/compress-gif-forum-2mb","og_site_name":"XConvert Blog","article_publisher":"https:\/\/www.facebook.com\/xconvertcom","article_published_time":"2026-12-02T17:13:13+00:00","og_image":[{"width":1600,"height":840,"url":"https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/08\/featured-98.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-gif-forum-2mb#article","isPartOf":{"@id":"https:\/\/www.xconvert.com\/blog\/compress-gif-forum-2mb"},"author":{"name":"James","@id":"https:\/\/www.xconvert.com\/blog\/#\/schema\/person\/3434db135e6a7f239ba8414244df9845"},"headline":"Compress a GIF Under a Forum&#8217;s 2 MB Upload Limit","datePublished":"2026-12-02T17:13:13+00:00","mainEntityOfPage":{"@id":"https:\/\/www.xconvert.com\/blog\/compress-gif-forum-2mb"},"wordCount":2266,"image":{"@id":"https:\/\/www.xconvert.com\/blog\/compress-gif-forum-2mb#primaryimage"},"thumbnailUrl":"https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/08\/featured-98.png","articleSection":["How To Guides","Tools"],"inLanguage":"en-CA"},{"@type":"WebPage","@id":"https:\/\/www.xconvert.com\/blog\/compress-gif-forum-2mb","url":"https:\/\/www.xconvert.com\/blog\/compress-gif-forum-2mb","name":"Compress a GIF Under a Forum's 2 MB Upload Limit","isPartOf":{"@id":"https:\/\/www.xconvert.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.xconvert.com\/blog\/compress-gif-forum-2mb#primaryimage"},"image":{"@id":"https:\/\/www.xconvert.com\/blog\/compress-gif-forum-2mb#primaryimage"},"thumbnailUrl":"https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/08\/featured-98.png","datePublished":"2026-12-02T17:13:13+00:00","author":{"@id":"https:\/\/www.xconvert.com\/blog\/#\/schema\/person\/3434db135e6a7f239ba8414244df9845"},"description":"Compress a GIF to 2 MB for a forum: where that limit comes from (PHP, nginx, phpBB defaults), what 2 MB buys you, and the Forum preset that caps it.","breadcrumb":{"@id":"https:\/\/www.xconvert.com\/blog\/compress-gif-forum-2mb#breadcrumb"},"inLanguage":"en-CA","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.xconvert.com\/blog\/compress-gif-forum-2mb"]}]},{"@type":"ImageObject","inLanguage":"en-CA","@id":"https:\/\/www.xconvert.com\/blog\/compress-gif-forum-2mb#primaryimage","url":"https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/08\/featured-98.png","contentUrl":"https:\/\/www.xconvert.com\/blog\/wp-content\/uploads\/2026\/08\/featured-98.png","width":1600,"height":840,"caption":"The xconvert GIF compressor at \/compress-gif with the Upload button highlighted \u2014 add a GIF and cap it with the Forum (2 MB max) size limit"},{"@type":"BreadcrumbList","@id":"https:\/\/www.xconvert.com\/blog\/compress-gif-forum-2mb#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.xconvert.com\/blog"},{"@type":"ListItem","position":2,"name":"Compress a GIF Under a Forum&#8217;s 2 MB Upload Limit"}]},{"@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\/2314","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=2314"}],"version-history":[{"count":2,"href":"https:\/\/www.xconvert.com\/blog\/wp-json\/wp\/v2\/posts\/2314\/revisions"}],"predecessor-version":[{"id":2680,"href":"https:\/\/www.xconvert.com\/blog\/wp-json\/wp\/v2\/posts\/2314\/revisions\/2680"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xconvert.com\/blog\/wp-json\/wp\/v2\/media\/2311"}],"wp:attachment":[{"href":"https:\/\/www.xconvert.com\/blog\/wp-json\/wp\/v2\/media?parent=2314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xconvert.com\/blog\/wp-json\/wp\/v2\/categories?post=2314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xconvert.com\/blog\/wp-json\/wp\/v2\/tags?post=2314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}