# Online Check

Online status in your menu bar. Price: $5, one-time purchase. Platforms: macOS. Get it from: [App Store](https://apps.apple.com/app/id6504709660). Requires macOS 26 or later. Size: 3 MB. Free older versions for macOS 15 and 14: [download](https://sindresorhus.com/online-check#older-versions). Privacy: [Privacy details](https://sindresorhus.com/online-check/privacy-policy). Family Sharing: yes. First released: June 2024. App Store category: Utilities. Version 1.6.1, released May 12, 2026. After you buy it on the App Store, install it from the terminal with [mas](https://github.com/mas-cli/mas): `mas install 6504709660`, or with this line in a Brewfile: `mas "Online Check", id: 6504709660`. Bundle identifier of the App Store version: `com.sindresorhus.Online-Check`.

URL: https://sindresorhus.com/online-check

Check if you are online directly from the menu bar. The menu bar icon turns red when you are offline, and the app shows a notification.

Unlike just checking if Wi-Fi is connected, the app verifies actual internet connectivity through network tests.

The app can also show a red border around the screen while you are offline, keep a history of the status changes that you can export as CSV, and run a shortcut when the status changes. In the Shortcuts app, it has the actions “Is Online”, “Get Enabled State”, and “Set Enabled State”.

## Tips

### Connect to other Wi-Fi when status is offline

You can have the app connect to a different Wi-Fi if the current one becomes offline. Add the [shortcut that connects to another Wi-Fi](https://www.icloud.com/shortcuts/bf64ec8fd3d24f80b2af845464306614) (shortcut “Online Check - Connect to Wi-Fi if offline”) to the Shortcuts app and edit the required information. Then select this shortcut in the “Run shortcut on status change” setting of Online Check.

### Restart Wi-Fi when status is offline

You could also restart the Wi-Fi when it becomes offline. Add the [shortcut that restarts the Wi-Fi](https://www.icloud.com/shortcuts/8bbe914b13ff4f3ab9f063e835c92747) (shortcut “Online Check - Restart Wi-Fi when offline”), and select it in the “Run shortcut on status change” setting.

### Make your own shortcut

The shortcut gets the new status as its input: the text `true` when you are online again, and `false` when you go offline. Use an “If” action on the “Shortcut Input” to do something only for one of them.

## Frequently Asked Questions

### I have a feature request, bug report, or some feedback

Click the feedback button in the app or [send it here](https://sindresorhus.com/feedback?product=Online%20Check&referrer=Website-FAQ).

### The app does not show up in the menu bar

[How to make the app show up in the menu bar](https://sindresorhus.com/apps/faq#app-not-showing-in-menu-bar)

### How is it different from just checking whether the Wi-Fi is connected?

A Wi-Fi connection only means you are connected to a network. The app verifies internet access by connecting to “captive.apple.com”, “apple.com”, or “cloudflare.com”, ensuring you’re truly online.

### The app shows that I’m offline even though I’m not

- Ensure network requests from the app to “captive.apple.com”, “apple.com”, and “cloudflare.com” are not blocked. These domains are used to verify your online status.

### How can I run this only when not connected to certain networks?

Use the “Set Enabled State” action of Online Check in two Shortcuts automations with the “Wi-Fi” trigger: one that turns the app off when your Mac joins the network, and one that turns it on when your Mac leaves it. While it is off, the app does not check, but stays in the menu bar. You can also turn it off and on with the “Enabled” toggle in the menu.

### How does it work?

Anytime the network changes, and every 10 seconds while online (2 seconds while offline), it loads “captive.apple.com”, the page that macOS also uses to detect Wi-Fi login pages. If that fails, it sends a HEAD request to “apple.com”, and then to “cloudflare.com”. If all the requests fail, it considers the internet to be offline. You can change the check intervals in the settings.

### Can you make the history persistent?

Not yet. The history is lost when the app quits. To keep it, export it as CSV from the history window before you quit or restart.

### Can you make the menu bar icon green when online?

No. Menu bar icons are intended to be mostly monotone, changing color only to indicate critical states. For example, the battery icon turns red when low but stays monochrome when full. Showing green also isn’t that useful as you can assume it’s connected when not red, and having a constant green color there could be distracting.

If you only want to see the icon when something is wrong, set “Show icon” to “when offline” in the “Menu Bar” settings. While the icon is hidden, launch the app again to open its settings.

### Can you localize the app into my language?

I don’t plan to localize the app.

## Older Versions

- [1.5.0](https://www.dropbox.com/scl/fi/jj4d0jqg9vjvxi75ojigb/Online-Check-1.5.0-macOS-15-1772136482.zip?rlkey=vty9ff9bcz2usxsrurls6tczf&raw=1) for macOS 15
- [1.3.0](https://github.com/user-attachments/files/19074059/Online.Check.1.3.0.-.macOS.14.zip) for macOS 14

These are free for everyone, but they will not run on newer macOS versions.

*Download the zip file to the Downloads folder, double-click it to unzip, and then move the app to the “Applications” folder.*

## What People Say

> The Online Check mini-app offers a simple way to monitor online status. […] The app aims to indicate a lost connection quickly and reliably by regularly checking the availability of Apple’s and Cloudflare’s servers with ping requests.
>
> [ifun.de](https://www.ifun.de/online-check-mini-app-wacht-ueber-eure-online-anbindung-234967/), 2024, translated from German

## What Users Say

> **Simple and exactly what I needed**
>
> My Mac has been having trouble maintaining a wireless connection. This app simply gives me a history of connections and disconnections – perfect for figuring out what’s going on.
>
> ianwday, App Store, September 2024

> **Simple excellent**
>
> Does one thing but does it so well. You get notified and can see at a glance if you are offline or not, plus you can trigger shortcuts for offline and back online again.
>
> JT33333, App Store, August 2024

> **Very useful**
>
> I’ve tried a couple of similar apps, but found this to be the best one. Simple, minimal, light on resources, small and just does what it says without bloat. The same developer makes many more apps with the same care, attention and focus.
>
> Jools912, App Store, August 2024

> **So simple. So useful**
>
> This is a great, simple app to quickly see if I’m online or offline. I just wish it had an option for a green indicator on the menu bar (instead of the hard-to-see black/grey one). Other than that, I love it!
>
> Diamond Aces, App Store, July 2024

## Guides

- [How to Check Your Internet Connection on Mac](https://sindresorhus.com/guides/check-internet-connection-mac.md): See at a glance if your Mac is online, with a menu bar icon that turns red when the internet stops working, or check it with the ping command in Terminal.
- [How to Restart Wi-Fi Automatically When the Internet Drops on Mac](https://sindresorhus.com/guides/restart-wi-fi-when-internet-drops-mac.md): Turn the Wi-Fi off and on again by itself when your Mac goes offline, with Online Check and a shortcut, or turn it off and on by hand.
- [How to See When Your Internet Drops on Mac](https://sindresorhus.com/guides/internet-keeps-dropping-mac.md): When the internet keeps dropping on your Mac, Online Check notes the time of each drop, and exports the list for your internet provider.
