Cannot view webpage source in Safari on iPhone

I can’t find a menu item to view the source of a webpage in Safari on my IPhone.


Am I missing something?




[Edited by Moderator]

Posted on Apr 24, 2026 6:10 PM

Reply
Question marked as Top-ranking reply

Posted on Apr 24, 2026 6:29 PM

There has never been a button or menu item on the iPhone/iPad to view webpage source code (only the Mac), but this article shows 7 ways you may be able to accomplish that.

https://appletoolbox.com/view-web-page-source-on-iphone-ipad/


If you think that would be a valuable feature to add to Safari, you can send a feature request to Apple here:

Feedback - Safari - Apple


2 replies
Question marked as Top-ranking reply

Apr 24, 2026 6:29 PM in response to perfectreign

There has never been a button or menu item on the iPhone/iPad to view webpage source code (only the Mac), but this article shows 7 ways you may be able to accomplish that.

https://appletoolbox.com/view-web-page-source-on-iphone-ipad/


If you think that would be a valuable feature to add to Safari, you can send a feature request to Apple here:

Feedback - Safari - Apple


Cannot view webpage source in Safari on iPhone

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.