Free bag size checker widget for your website

Checked: July 2026 · Free to embed · One snippet, no signup

What this is: a small, free cabin bag checker you can drop onto any website. Your visitors type a bag size, and the widget shows how many of 14 India and Gulf airlines would accept it in the cabin. Paste two lines of code, and it renders the checker below along with a link back to SafarCheck. That attribution link is the deal: the tool stays free, and you keep the link.

Copy this snippet

<div class="safarcheck-widget"></div>
<script src="https://safarcheck.com/assets/widget.js" async></script>
Copied

Live preview

This is the real widget, rendered by the snippet on the left.

Try it now: type 55, 35, 25 and 7 into the preview and press Check. It reports Fits 6 of 14, the same result as the homepage checker.

Who the widget is for

The widget was built for the people who answer the same baggage question over and over. If you run a travel blog, a ticketing agency, an Umrah or Hajj operator, a study-abroad service or a packing-gear shop, your readers keep asking one thing before a flight: will this bag pass as cabin baggage? A page of text answers it slowly. A checker answers it in five seconds, on the page, without sending the reader to a search engine and losing them there.

Travel agents and tour operators get the clearest win. A pilgrim group flying to Jeddah, a family split across IndiGo and Saudia, a student heading out through Abu Dhabi: each traveller has a different cabin limit to hit, and the widget lays all 14 side by side. Put it on your booking page or your pre-departure email landing page, and it cuts the back-and-forth over WhatsApp about bag sizes. Bloggers use it as a sticky tool that keeps a post useful long after it is published, which is the kind of page that earns links and return visits on its own.

What the checker does

A visitor enters length, width and height in centimetres, and optionally a weight in kilograms. The widget sorts the three sides, compares them against every airline sizer frame, and counts how many airlines would take the bag in the cabin. The headline reads Fits N of 14 airlines, and below it a short list marks each carrier with a green tick or a red cross, so the reader sees exactly which airlines say yes and which say no.

The comparison is the same one the main SafarCheck site runs. Airlines measure the longest side against their longest allowed side, so a bag is tested by its shape, not by the order someone types the numbers. Weight is optional: leave it blank and the widget judges size alone; fill it in and any airline whose weight cap is lower than your bag drops out of the fit count. Thirteen of the fourteen carriers cap the cabin bag at 7 kg, and Gulf Air sits at 6 kg, which is why a heavy bag can pass on size yet still fail.

The fourteen airlines are IndiGo, Air India, Air India Express, SpiceJet and Akasa Air on the Indian side, and Emirates, Etihad, Qatar Airways, Saudia, flynas, flydubai, Oman Air, Kuwait Airways and Gulf Air across the Gulf. Those carriers cover the routes most India and Gulf travellers actually fly.

Free, and no signup

There is no account to create, no API key to request and no fee, now or later. You do not register your domain, and there is no per-view limit. The widget is one small file that you point to; you never host or update it yourself. Because it makes no network calls once it loads and sets no cookies, it adds nothing to your privacy policy and collects no data about your visitors. The whole calculation runs inside the reader browser, so it keeps working even if a visitor is on a slow connection.

The attribution link, and the terms

The widget is free because of one line at the bottom of the card: Powered by SafarCheck, linked to safarcheck.com. That link is the price, and it is a fair one. Keep it in place and you can use the widget on as many pages and sites as you like, forever.

The terms are short:

That is the whole agreement. In return you get a tool that would take real effort to build and, more to the point, real effort to keep accurate every time an airline changes a rule. The link is a normal followable anchor, so it also passes a little authority back to the source, which is exactly why the tool can stay free for you.

How to place it on your site

You need two lines: a container where the checker should appear, and the script that fills it.

  1. WordPress: add a Custom HTML block in the editor where you want the checker, and paste the snippet. In the classic editor, switch to the Text tab first. Avoid the visual editor, which can rewrite the tags.
  2. Wix or Squarespace: drop an Embed or Code element onto the page and paste the snippet into it.
  3. Blogger: switch the post to HTML view and paste the snippet in place.
  4. Plain HTML site: paste both lines into the page body where you want the checker to show.

The script tag uses the async attribute, so it loads without holding up the rest of your page, and it can sit anywhere in the body. When it runs, it looks for every element with the class safarcheck-widget and renders a checker into each one. That means you can place several on one page, for example one in a post and one in the sidebar, with a single script tag. You only ever need one copy of the script line, even with many widgets.

Styling notes

The widget brings its own styles, wrapped in a private class prefix so they cannot leak into your theme or be overwritten by it. The card renders up to 360px wide and centres itself in whatever container you give it. To make it narrower, put it inside a column or a div with a set width; the layout reflows neatly down to about 280px, folding its input fields into two rows so nothing is cut off. The system font is used on purpose, so the card quietly matches the host page rather than dragging in a web font. The teal accent and the layout are fixed, which is deliberate: every copy of the widget looks the same and reads the same numbers, so a reader who has seen it once trusts it the next time.

If you want a fuller experience, with a unit switch for inches, a bag animation and a shareable result card, link your readers to the full bag size checker. The widget is the quick version for your own pages; the site holds the deep version.

How the numbers stay right

The cabin limits inside the widget are the same verified figures behind the homepage tool, checked in July 2026 against each airline published information. When a carrier moves a number, the file is updated at the source. Since your page loads that file from safarcheck.com, your embedded checker picks up the change on the next visit with nothing to do on your side. That is the reason the terms ask you to load the script rather than copy it: a copied file freezes on the day you saved it, and a frozen baggage rule is a wrong one within a season.

One honest caveat belongs on every baggage tool, including this one: the allowance printed on a traveller ticket is final, and fare class, aircraft type and route can shift the finer rules. The widget answers the common economy cabin question well, and it points readers to the detailed airline baggage allowance pages for the fare-by-fare specifics.

Frequently asked questions

Is the SafarCheck bag checker widget free?

Yes. It is free to embed on any website, with no signup, no account and no fee. The one condition is that you keep the Powered by SafarCheck link inside the card, since that link is how the tool stays free.

How do I add the widget to my website?

Paste two lines into your page: a div with the class safarcheck-widget, and one script tag that loads widget.js. The script finds the div and renders the checker. It works in WordPress custom HTML blocks, Wix and Squarespace embed elements, Blogger and plain HTML pages.

Does the widget slow down my site or track visitors?

No. It is one small file loaded with the async attribute, so it never blocks your page. It makes no network calls after loading, sets no cookies and collects no visitor data. All 14 airline limits live inside the file, so the maths runs on the visitor device.

Can I change the widget colours or size?

The widget uses its own scoped styles and a fixed teal accent so it looks the same everywhere and cannot clash with your theme. You set the width through the surrounding container; the card sits up to 360px wide and shrinks to fit columns down to 280px. Deeper restyling is not supported, which keeps every copy consistent.

Are the airline baggage limits kept up to date?

Yes. They match the verified dataset behind the homepage checker, last checked July 2026 against official airline pages. When an airline changes a rule, we update widget.js, and because your page loads the file from safarcheck.com, your copy updates at the same time with no work on your side.

Want the full version first?

See the complete checker, with an inch switch and a shareable report, before you embed the compact one.

Open the bag checker →

Related pages

Cabin bag size checker Full bag size checker All 14 airline allowances Excess fee calculator Umrah travel tools

Built and maintained by SafarCheck, checked July 2026 against official airline sources. Fare classes and routes change allowances; the allowance printed on your ticket is final. SafarCheck is not affiliated with any airline.