Website Not Working on Safari? How to Fix It
When a website works in Chrome but not in Safari, there are two possibilities. Either Safari on your device is blocking it (content blockers, stored website data, privacy settings, or an out-of-date iOS), or the website uses code that Safari handles differently from Chrome. Safari runs on Apple's WebKit engine, and every browser on iPhone does too, so a site that isn't tested in WebKit can break for every iPhone user at once. Start with the quick fixes below. If the site fails on every Apple device, the problem is the website, and the second half of this guide is for its owner.
Quick fixes (try in order)
- Turn off content blockers: tap "aA" in the address bar → turn off content blockers, then reload.
- Clear that site's data: Settings → Apps → Safari → Advanced → Website Data (on Mac: Safari → Settings → Privacy → Manage Website Data).
- Update iOS or macOS. Safari only updates with the operating system.
- Still broken on every iPhone and Mac? The site needs fixing. See the site-owner section below.
If Safari won't load sites on your device
Content blockers and extensions
Stored website data
Privacy settings
"Safari can't establish a secure connection"
Out-of-date Safari
If you own the site: 7 reasons websites break in Safari
Most "doesn't work in Safari" bugs come from code that Chrome accepts and WebKit doesn't, or accepts differently. One unsupported line of JavaScript can stop every script after it, so buttons, menus, and forms all fail at once, while the page still looks normal.
JavaScript features older Safari doesn't support
Most common(?<=…), only supported from Safari 16.4) throw a syntax error that kills the entire script file. Check features against caniuse.com, and make sure your build tool targets the Safari versions your visitors use.Date parsing
new Date('2026-09-30 10:00') (with a space) works in Chrome but returns "Invalid Date" in older Safari versions, which breaks booking forms, countdowns, and anything with dates. Always use the ISO format with a "T" (2026-09-30T10:00:00) or a date library.Third-party cookies are blocked
CSS that renders differently
100vh on iPhone includes the area behind the browser toolbar, so full-screen sections get cut off (use 100dvh); flexbox gap isn't supported before Safari 14.1; and position: sticky or fixed elements can misbehave when the keyboard opens. Test layouts on a real iPhone, not only a resized Chrome window.Video autoplay rules
Image formats
Certificate or security configuration
How to test your site in Safari without a Mac
Chrome's mobile emulation uses Chrome's engine, not Safari's, so it won't reproduce WebKit bugs. Your options:
A real iPhone or iPad
Cloud device services
Playwright WebKit (free)
Frequently asked questions
Why are some websites not working in Safari?
Either Safari on your device is blocking them (content blockers, stored website data, privacy settings like Prevent Cross-Site Tracking, or an outdated iOS), or the site uses code Safari doesn't support, such as newer JavaScript features, Chrome-only date formats, or third-party cookies that Safari blocks.
Why is Safari refusing to open a website?
If Safari says it can't establish a secure connection, check your device's date and time. If they're correct, the website's certificate is expired or misconfigured, or its server uses outdated security settings, which only the site owner can fix.
Is there an issue with Safari right now?
Apple lists service outages at apple.com/support/systemstatus, but Safari itself rarely has outages. If only one site fails, the problem is almost always that site or your device's data for it. Try clearing that site's website data and disabling content blockers.
Why does a website work in Chrome but not Safari on iPhone?
On iPhone, Safari and every other browser use Apple's WebKit engine. A site using JavaScript or CSS that WebKit doesn't support, or relying on third-party cookies Safari blocks, will fail on iPhone even though it works in Chrome on desktop and Android.
How do I test my website in Safari on Windows?
Use a cloud device service such as BrowserStack or LambdaTest for real Safari on Apple devices, or the free Playwright framework, which includes a WebKit build that runs on Windows. Chrome's device emulation does not use Safari's engine.