• Are NPUs the New CPUs?
  • Save More w/ This Hack on Big Deal Days

How to View HTML Source in Safari

If you want to see how a webpage was built, try viewing its source code.

  • University of California
  • University of Washington

What to Know

  • From Safari menu, select Develop > Show Page Source .
  • Or, right-click on page and Show Page Source from drop-down menu.
  • Keyboard shortcut: Option+Command+U .

This article shows how to view HTML source code in Safari.

View Source Code in Safari

Showing source code in Safari is easy:

Open Safari.

Navigate to the web page you would like to examine.

Select the Develop menu in the top menu bar. Select the Show Page Source option to open a text window with the HTML source of the page.

Alternatively, press Option+Command+U on your keyboard.

If the Develop menu is not visible, go into Preferences in the Advanced section and select Show Develop menu in menu bar .

On most web pages, you can also view the source by right-clicking on the page (not on an image) and choosing Show Page Source . You must enable the Develop menu in Preferences for the option to appear.

Safari also has a keyboard shortcut for viewing the HTML source: Hold down the command and option keys and hit U  ( Cmd + Opt + U .)​

Advantages of Viewing Source Code

Viewing the source to see how a web designer achieved a layout will help you learn and improve your work. Over the years, many web designers and developers have learned quite a lot of HTML by merely viewing the source of web pages they see. It's an excellent way for beginners to learn HTML and for seasoned web professionals to see how others used new techniques.

Remember that source files can be very complicated. Along with the HTML markup for a page, there will probably be significant CSS and script files used to create that site's look and functionality, so don't get frustrated if you can't figure out what's going on immediately. Viewing the HTML source is just the first step. After that, you can use tools like Chris Pederick's Web Developer extension to look at the CSS and scripts as well as inspect specific elements of the HTML.

Is Viewing Source Code Legal?

While copying a site's code wholesale and passing it off as your own on a website is certainly not acceptable, using that code as a springboard to learn from is actually how many people make advancements in this industry. You would be hard-pressed to find a working web professional today who has not discovered something by viewing a site's source!

Web professionals learn from each other and often improve upon the work that they see and are inspired by, so don't hesitate to view a site's source code and use it as a learning tool.

You cannot edit webpage source code in Safari. When viewing the source code in Safari, copy and paste it into an app that can export files as plain text (like TextEdit or Pages).

The iOS version of Safari doesn't directly support webpage source viewing, but you can set up a custom bookmark that will accomplish the same task. Create a new bookmark in Safari and name it "Show Page Source" (or something similar, so long as you can identify it). Then in the address text box, copy and paste a specific javascript code , then Save . Once the bookmark is set up, navigate to a webpage that you want to vide the source of, then open your bookmarks and select the new Show Page Source bookmark to view the webpage's source code.

Get the Latest Tech News Delivered Every Day

  • How to Activate and Use Responsive Design Mode in Safari
  • Back up or Move Your Safari Bookmarks to a New Mac
  • Keyboard Shortcuts for Safari on macOS
  • How to Modify Text Size in the Safari Browser on a Mac
  • How to Manage the Top Sites Feature in Safari
  • Customize Safari Toolbar, Favorites, Tab, and Status Bars
  • What Is Safari?
  • How to Manage Your Browsing History in Safari
  • How to Enable Safari's Debug Menu to Gain Added Capabilities
  • How to Change Your Homepage in Safari
  • How to Install, Manage, and Delete Safari Extensions
  • How to Reset Safari to Default Settings
  • How to Check the Version Number of Apple Safari Browser
  • How to Disable JavaScript in the Safari Web Browser
  • How to Manage Browsing History on Safari for iPad
  • How to Enable the Safari Pop-up Blocker

Matt Hopkins

How to view web page source in Safari on iPad or iPhone

Have you noticed that there is no “View Source” in Safari?  This is a feature that I frequently use in desktop browsers such as Chrome.  Well, here’s a simple trick that quickly solves that.

Viewing the source code of a web page in Safari on your iPad or iPhone requires the creation of a “bookmarklet”.

A bookmarklet is JavaScript that is stored as a URL and then saved in your “bookmarks” list on safari.  So this means that when you select it from your list of regular bookmarks, it will run some javascript instead of connecting you to a normal destination URL such as a web site.

Here’s how you get it set up:

1. Navigate to this web page on your iPad or iPhone.

2. Open the file in this link –  iPad View Source Bookmarklet  and then select all and copy to the clipboard.  It is in a seperate text file so that your browser doesn’t try to change any of the actual text.

3. Select “Add Bookmark” from the “share” menu

ipad safari view page source

4. Change the name to “iPad View Source” or whatever else you would prefer

ipad safari view page source

5. In the second field (where you currently see a URL), replace that with the the contents of the file you opened in step 2 above – paste it in here.. as is.

ipad safari view page source

5. Press Save.. and then give it a go.

Now try it – you should get a new tab created with the source code for whichever web page you are currently viewing.

ipad safari view page source

advice , iPad , iPhone , tips

One Response to How to view web page source in Safari on iPad or iPhone

iCab also does this, and so much more. Worth a look and Universal. 

The biggest thing I use it for is the download manager. You can download any file, view if there’s a universal plug-in, do things like rename the file, and “open in” any supported app. I use this feature to read Scanlations of Japanese Manga (yeah, I buy the official English translation too, but as that is 3 or 4 volumes behind, I like to read my Manga as it happens.) The way it works is, download a .ZIP or .RAR file with the content inside, rename the file to .CBR or .CBZ (hopefully the correlation is fairly obvious) and then “open in” my preferred reader (ComicBookLover.) This process takes seconds, whereas the old method of using a desktop and iTunes was monolithic.iCab also impersonates other browsers and about a zillion other things… too many.. so many I’d urge you to check out the author’s page.

Popular Posts

  • How to auto tweet and create your own Twitter bot 35.1k views | posted on July 6, 2011
  • How to get Apple iCloud Photo Stream working with your Windows PC 27.8k views | posted on May 7, 2012
  • How to change your Twitter name and keep your followers 24k views | posted on January 12, 2010
  • Alternatives vs Substitutes 19.6k views | posted on June 6, 2012
  • Reactive vs Responsive 18.9k views | posted on May 3, 2012
  • Sometimes, working hard is not enough – Poiesis and Praxis 9.9k views | posted on May 22, 2012
  • Small Business is like a Viking Ship 9k views | posted on September 23, 2011

Recent Posts

  • A tale of two AI’s September 11, 2024
  • Grit and authenticity: A Stoic approach to living September 1, 2024
  • Be your own BFF August 30, 2024
  • Counter-dependents make the best stoics August 26, 2024
  • Confessions of a counter-dependent August 22, 2024
  • Crafting an incentive to buy: the power of a UVP for SMEs November 16, 2023
  • The transformative impact of personified values in business November 12, 2023

Geek Instructor text logo

How to View Web Page Source Code on iPhone: 5 Ways

Vivek chaudhary.

Vivek Chaudhary Author

A source code is something that every developer is familiar with. In fact, they play with source codes every day. While carrying out your work on a PC or a laptop, it is easy as a pie to check the source code of any web page or website. Just right-click and you have the option right on your screen. Similarly, when you are using an Android phone, browsers like Chrome give the option to view the source code of any web page easily.

View source code of web pages on iPhone

But this is not the case when you are working with an iPhone or an iPad. If you own an iPhone, and you get an urgent requirement to check the source code of any web page, you feel helpless and you have to go through the whole process of opening your PC, visiting that web page, and then inspecting it. This whole process is irritating and surely takes a lot of time. And at that time you wish if it was possible to inspect the same web page using the Safari browser of my iPhone.

Well, to your surprise, yes it is possible to view the HTML source code of any web page right through your iPhone’s Safari app. Although it’s not as simple as in Android phones, we have shared some tips and tricks that will help you out. So use these methods and the next time some web page fascinates you and you want to inspect it, just do it using your iPhone or iPad.

Table of Contents

1. Use Web Inspector Safari extension on iPhone

There is a new Safari extension available for iPhone and iPad which comes by the name Web Inspector. It is recently launched after the iOS 15 update. This extension is the most advanced web inspector tool that has ever made for the mobile smartphones till now. Why we are saying this is because it gives you features which are available in the desktop browser inspector tool. You can not only view the source code of a web page but also inspect particular HTML elements in the DOM, run codes in the console, check network requests and resources used by the web page and much more.

Here’s how you can use the Web Inspector extension on Safari browser to view page source code on your iPhone or iPad –

  • First, install the Web Inspector from the App Store. It is available for free and would take just few seconds to download as the size is very small.
  • Once installed, you will see the app added to your home screen. Click on it to open and then it will ask to allow Safari extension from the settings.
  • Open the Settings on your iPhone or iPad and go to Safari .

Enable extension in Safari

  • To check the source code, open the Safari app and visit the web page.

Web Inspector extension

  • If you go to the Elements tab, there you can check more details of the element such as attributes, styles, and even computed style like you see on the desktop browsers. You can also make edits in the HTML source code of the web page, apply the changes and see the live preview.

2. Create a view source shortcut for Safari

In this method, we will using Shortcuts app on iPhone to create a shortcut for viewing the source code on Safari. This is very technical method and you will need to be attentive while following the steps. To start with, first find and open the Shortcuts app and tap the plus button at the top right corner. In the next screen, give a name to your shortcut like View source or whatever you want.

After that, tap the three dots in the upper right corner which will open a pop up box on your screen. Enable the Show in Share Sheet button and click the Done option.

Set the type of content you want to receive from the Share Sheet to Safari web pages only by clicking on the Any option on the Receive command. Make sure to clear all other inputs.

Now tap the + Add Action button and search for Make HTML from Rich Text . Click on it to add it to the shortcut.

Search for another action named Quick Look using the search bar at the bottom and add it also. This is how the final page will look like –

Create shortcut for view source

Now you have successfully create a shortcut for viewing source code of any web page on Safari browser. To use it, visit the web page you want to inspect and click the share button at the bottom. Swipe it up and click on the View Source option that you created with the Shortcuts app. This will open a pop up box where you will see the HTML source code of the web page.

3. Safari bookmark trick to view page source

This is the old school method which used to the only way to view the source code on iPhone before when there are no extensions available for Safari browser. This method would require you to use a script code and save it as bookmark on Safari. Then you simply need to open the bookmark on the web page you want to inspect. Here’s a detailed guide on this method –

First of all, open the Safari browser on your iPhone or iPad and visit any web page. Click on the share button (a square with an arrow pointing upward) at the bottom. Next, click on the Add bookmark option and then save it. Now you need to go to the Bookmarks, click the Edit option and then choose the bookmark you have recently saved. Change it name to something like “ View source ” and replace the address field with the below code.

Now all the technical part is done. Whenever you want to view the source code of a web page, simply open it, go to the Bookmarks and click on the new bookmark you have created to run the script. You will then see the code all over your screen. The drawback of this method is that it doesn’t highlight the HTML elements in different colors so it become little difficult to find what you are looking for.

View source using bookmark script

4. Use Google’s webpage cache to view source

If you don’t want to install a third party extension on your phone or don’t use any method that involves script to view the source code of a webpage on your iPhone or iPad then this method is for you. Here will use the Google’s cache version of the web page to view its HTML source code.

For those who don’t know, Google save a cached copy of all web pages that are indexed on it. You can publicly access this cached version by adding cache: before the address of the web page. This is all what you have to do in this method.

Simply, open the Safari browser on your iPhone or iPad and visit the web page or website whose source code you want to view. After that, click on the URL tab and add cache: at the starting. As you visit the link, it will take you to Google’s cache page. Make sure there is no space after cache: otherwise you will land on Google search page instead. The next thing you have to do is to click on the View source option.

View source Google's cache

Please note that this method will only show the web page as it appeared the last time when Google crawled it. In the meantime, the current page could have changed so you won’t get to see the updated HTML source code with this method until the Google crawl the web page again.

5. Use View Source application

Although we have shared enough methods for this topic but this last one is for those people who wants to use a specific application for viewing the source code of the web pages on their iOS device. There is an app named View Source which you can find on the App Store. You simply need to install this app on your phone, open it and enter the URL of the web page you want to inspect. It will then instantly show the HTML source code. As simple as that!

Use View Source app on iPhone

Another feature that this app has is the direct integration with the Safari browser. When you browsing on Safari and instantly need to view the source of a web page, just click on the share button and swipe the pop up to reveal all options. You will find View Source there. Clicking on that will open a pop-up window where you will see the source code of the web page.

So these are some methods which you can use to view the page source in Safari browser on your iPhone or iPad. Out of all these, using the Web Inspector extension is the best one as it gives you other useful features also which are available on desktop browser. Other than that, you can also use Google’s cache method to quickly view the source code of any web page without installing any app or extension on your device. Let us know which method your personally liked that you will use. If you are facing any problem, feel free to share it in the comments below.

Vivek Chaudhary Author

Related Posts

AirDrop name ideas

50+ AirDrop Name Ideas: Funny, Cool and Unique Names

Change name on AirDrop

How to Change Your AirDrop Name on iPhone/iPad or MacBook

Record video during call on iphone

How to Record a Video During Call on iPhone: 3 Ways

Transfer messages from old iPhone to new one

How to Transfer Messages from Old to New iPhone: 3 Ways

Leave a comment cancel reply.

Your email address will not be published. Required fields are marked *

Save my name, email, and website in this browser for the next time I comment.

Download Free

How to View Page Source on Safari

It's free and super easy to set up

Safari is a popular web browser used on both desktop and iOS devices. It offers many features that make web browsing effortless and enjoyable. One of its features is the ability to view page source. Page source is the underlying code that creates a webpage. Understanding how to view page source can be helpful for troubleshooting website issues, learning coding principles, or simply satisfying one's curiosity.

Understanding Page Source and Its Importance

In simple terms, page source is the code that creates the visual layout of a webpage. Every webpage is made up of various HTML, CSS, and JavaScript files. The page source is the foundation of how the webpage is presented to the user. It's crucial to understand page source's importance since it could help one in troubleshooting website issues.

When you view a webpage, your browser loads the page source code and interprets it to display the webpage. The HTML code defines the structure of the webpage, while the CSS code defines the style and layout of the page. JavaScript code is used to add interactivity to the webpage.

By viewing the page source, you can see the exact code that creates the webpage. This can be useful in troubleshooting issues with the webpage, such as broken links or missing images. You can also use the page source to learn how a webpage was built and gain insight into web development.

Another benefit of understanding page source is that it can help with search engine optimization (SEO). Search engines use the page source to understand the content of a webpage and rank it in search results. By optimizing the page source, you can improve the chances of your webpage ranking higher in search results.

It's also important to note that not all page source code is created equal. Some web developers may use sloppy or inefficient code, which can negatively impact the performance of the webpage. Understanding page source can help you identify and fix these issues, resulting in a faster and more efficient webpage.

In conclusion, understanding page source is an essential aspect of web development and website troubleshooting. By gaining insight into the code that creates a webpage, you can optimize the webpage for search engines, improve performance, and troubleshoot issues more effectively.

Enabling the Develop Menu in Safari

Before we can view the page source in Safari, we must first activate the Develop menu. The Develop menu provides many features for web developers and allows us to view page source with ease.

Accessing Safari Preferences

To activate the Develop menu, click on Safari in the menu bar and select Preferences. Alternatively, you can use the keyboard shortcut Command + comma (,).

Activating the Develop Menu

In the Safari Preferences window, click on the Advanced tab. Check the box next to "Show Develop menu in menu bar”.

Viewing Page Source Using the Develop Menu

With the Develop menu activated, we're now ready to view page source in Safari.

Navigating to the Desired Webpage

Open Safari and navigate to the webpage that you want to view the page source. Once the webpage has finished loading, go to the Develop menu and select "Show Page Source”. Alternatively, you can use the keyboard shortcut Option + Command + U.

Accessing the Page Source

A new window will appear, displaying the page source of the current webpage. You can view the page source by scrolling through the code. For easier reference, you can search for specific keywords using the search bar. You can also copy the page source by selecting all and copying it.

Using Keyboard Shortcuts to View Page Source

If you prefer using keyboard shortcuts to view page source, you can use Option + Command + U for macOS or Ctrl + U for Windows. This will bring up the page source in a new window, allowing you to examine the code.

Viewing Page Source on Safari for iOS Devices

Viewing page source on Safari for iOS devices isn't as straightforward as on the desktop, but it's still possible.

Installing a Third-Party App

To view page source on Safari for iOS, you'll need to install a third-party app like View Source or Source App. These apps will add a bookmarklet to Safari, which you can use to view the page source of any webpage that you're currently viewing.

Accessing Page Source on iOS

Once you've installed the app, go to the webpage that you want to view the page source. Tap on the Share button and select "View Source” or "Source”. The app will open a new window displaying the page source of the current webpage.

Analyzing Page Source for Troubleshooting and Learning

Viewing page source is not only useful for troubleshooting website issues, but it's also a great way to learn coding principles.

Identifying Common HTML Elements

By viewing page source, you can identify the HTML elements used on a webpage. This can help you understand how webpages are structured and how they're displayed to the user.

Inspecting CSS and JavaScript Files

You can also examine the CSS and JavaScript files used on a webpage. This can help you understand how the webpage is styled, how animations and interactivity are created, and how ads and analytics are integrated.

Frequently Asked Questions about Viewing Page Source in Safari

Can i edit the page source in safari.

No, the page source displayed in Safari can only be viewed. You'll need to use a code editor like Notepad, Sublime, or Visual Studio Code to edit page source.

Do I need to know how to code to view page source?

No, you don't need to know how to code to view page source. It can be helpful, but not necessary. Viewing page source is more about understanding how webpages are built and identifying possible issues.

Should I view page source on every webpage I visit?

It's not necessary to view page source on every webpage you visit unless you're troubleshooting or analyzing a particular webpage. However, it can be a helpful habit to adopt if you're interested in learning more about web development.

Can I view page source on other web browsers?

Yes, you can view page source on other browsers as well. Firefox, Chrome, and Edge all have similar features for viewing page source.

In conclusion, viewing page source can be both informative and helpful for both web developers and casual users. Safari offers multiple ways to access page source, making it accessible for everyone. Whether you're troubleshooting website issues or simply learning coding principles, viewing page source is definitely worth exploring.

Let's set you up !

Working on the web!

Student Tips

Startup Tools

Browser Glossary

Browser Tips

  • Question of “Why”
  • Crohn’s & Diabetes
  • Run & Cycle
  • Nerdy Things

Logo | Are we \

  • Recommended Books to Read from one Middle-Aged Man to Another
  • Recommended Movies from one Middle-aged Man to Another
  • 101 Universe
  • Photography

Logo | Are we \

  • What is Crohn’s Disease?
  • What is Ulcerative Colitis
  • Related Complications and Symptoms
  • Life with Diabetes
  • Diet and Nutrition
  • Medications to Treat Chronic Illness
  • Blog Post on Running and Cycling
  • Running Races (Road and Trail)
  • Running and Cycling Training
  • My Story / Contact Me
  • Recommended Books to Read
  • Recommended Movies to Watch
  • What am I Saving For?
  • Blog-Roll and Links
  • Content License
  • Hardware & App Review
  • Hints & Tips
  • WordPress and Website Hosting
  • Download and Technology Primer

Tip: How to view webpage HTML on iPad / iPhone

This article outlines the steps required to view the source code (HTML, CSS, JavaScript, etc.) for any webpage on your iDevices including iPad, iPhone or iPod touch using iOS 15 without any hacks or javascript.

How to View HTML source code on iOS Devices like iPhone and iPad

  • Install a free ios app called View Source
  • Open Safari and visit a webpage you would like to view the HTML code
  • Click the Share Button
  • Navidate down to Actions
  • Choose View Source

As a web design project manager, I need to view HTML from my iPhone or iPad. Here are a few quick steps to set up your iPhone to view HTML source code. These steps do not require any JAVA hacks, helping a HTML developer take a look at the HTML source code for any website. Check out these steps .

Note, these steps may work on older versions of iOS, however, have not been tested. This process uses a small app without the need for backdoor programming, javascript, or other coding is required! For iOS 12 and lower, scroll down. 

Here are detailed steps that I have been using to view HTML source code without and JAVA hacks.

How to view HTML source code on iPhone / iPad iOS Devices

Step 1 : Install a free app from the Apple Store called View Source .

The free View Source App in the iPhone and iPad App Store provides a quick, clean, and easily integrated into iOS.

Step 2 : Load Safari (iPhone, iPod, or iPad), if it is not already open, and visit any web page .

Step 3: Click the Share Button (it looks like a box with an arrow pointing upwards.)

Step 3: Scroll down to actions (Steps to view HTML in IOS 13)

Step 4 . Scroll down to your Actions (below Messenger favourites and app icons)

Step 4: Scroll down to actions (Steps to view HTML in IOS 13)

Step 5 . Choose View Source (see Step 5 and 6 if View Source is not listed)

Step 5: Choose View Source to see HTML any time in iOS 13

Step 6 . If View Source is not available – choose edit actions at the bottom of the screen and enable View Source

Step 5: Enable: View Source if missing

Step 7. To move View Source to the top of the list (favourite Actions) – select edit actions on the bottom of the page .

Step 7: Choose View Source any time to view the page HTML in iOS 13.

That’s it! Now you can use the new “View Source Button” under your Share Button to review the HTML on any webpage using mobile Safari (and Chrome) on your iDevice (iPhone, iPod, or iPad).

Tremendous kudos to Roman Tomjak and his simple View Source app and clean integration into the safari web environment.

Related Posts

Tips on how to give and earn ride on’s in zwift cycling app, tip | how to move safari search bar to top of the screen in ios 16, fix: safari requires you to always login to websites, leave a reply cancel reply, mark hanlon.

Mark is an avid photographer, Starbucks addict, motivated cyclist, struggling runner, and rocking single parent living outside of Toronto, Ontario. Living with two chronic ilnesses, Crohn’s Disease and Diabetes, life for this Transportation Planner and Registered Professional Planner (RPP) can be an interesting mix.

Most Popular

  • Blogging 101
  • Crohn's Disease & Diabetes
  • Guest Post | Contributions to Making You Think
  • Health and Wellness
  • Inspiration
  • Life with Crohn's Disease
  • Medications for Chronic Illness
  • My Photography
  • Photography 101
  • Product Reviews
  • Running and Cycling
  • Social Media
  • The question of Why
  • What We Said

3 Benefits of using a Rocker Plate while Cycling Indoors

Calorie counting – the ultimate guide to achieving your weight loss goals, diabetes non-profit here to support canadians, libre 3 approved for use in canada, the benefits of group cycling and peloton riding, editor picks, questions and answers about the freestyle libre diabetic glucose monitoring system, online learning | tools to make your learning from home successful, popular posts, how do i upload my hike from alltrails to strava, tip: how to stop your freestyle libre sensor from falling off before the 14-day expiry, popular topics.

Logo Footer: Are We Making You Think?

Making You Think blends my passions of running, cycling, photography, and inspirational thoughts with the challenges of living with chronic disease (Crohn's and Diabetes). I hope you enjoy my story.

Visit our Contact Page and say hi!

© 2024 by Are we "Making you Think?” | Privacy and Cookie Policy | Copywrite Policy

View Source for Safari on iOS with Shortcuts

I love view-source , it's a nifty super power of the web that nearly all mobile browsers are trying to kill. Not exactly sure why. View-source is what got me into web development because I could see how other people structured their pages, and at the time I started web development it was pretty much the only way to debug web pages.

I've also been using my iPad Pro whilst I am not at work for the next month or so... It's a great device, and it appears to be locked down in a way that restricts me from doing exactly what I want... this is until I found out about the Shortcuts app that is built in to iOS.

Shortcuts let you build small utilities, programs and automations that perform actions on certain user gestures like "Share a Page", or "Open an app", or "Connect to WiFi".

Now that I can share URLs to an "app", I can do a lot of things that are not really possible on mobile devices.

I created this "View Source" shortcut that you can use (if you trust me) to Share a page from Safari or Chrome and quickly view the source.

Here it is in action:

View Source in the Share Sheet

There is one major caveat. It doesn't inspect the exact instance of the page you are running, it has to the page in a 3rd party site that I built ( https://www-source.glitch.me ) / source - this means that if you are logged in, or there is any state that is shared (such as cookies) then it will not display the same content that you are viewing.

It's kinda hard to share the source code of a Shortcuts, so here is a screenshot:

View Source Code

I really hope that Safari (and Chrome) can deprecate the need for this shortcut.

Subscribe to feed

  • Sorry Safari team
  • Creating a quick launcher for Android using the web
  • Shiming Request.formData in Safari
  • Twitter is using PWA shortcuts
  • Ricky Mondello: Adoption of Well-Known URL for Changing Passwords

I lead the Chrome Developer Relations team at Google.

We want people to have the best experience possible on the web without having to install a native app or produce content in a walled garden.

Our team tries to make it easier for developers to build on the web by supporting every Chrome release, creating great content to support developers on web.dev , contributing to MDN, helping to improve browser compatibility, and some of the best developer tools like Lighthouse, Workbox, Squoosh to name just a few.

I love to learn about what you are building, and how I can help with Chrome or Web development in general, so if you want to chat with me directly, please feel free to book a consultation .

I'm trialing a newsletter, you can subscribe below (thank you!) Enter your email

RSS

View Source from Safari on iPad

UPDATE: Thank you to Rixtur for the update for iOS 6. Steps updated.

I’ve been enjoying the iPad quite a bit.  This device is going to change everything.  I have lots of thoughts, one of which is that the iPad will be a high productivity device.  Feeding into that, here’s a quick way to view the html, css and javascript source code of a web page from Safari on the iPad. This guide is adapted from  Dustin Caruso’s note on viewing source in Safari for the iPhone.

1. Visit this page using Safari on your iPad.

2. Use your touch selection skills to copy the following line of javascript: javascript:var%20sourceWindow%20%3D%20window.open%28%27about%3Ablank%27%29%3B%20%0Avar%20newDoc%20%3D%20sourceWindow.document%3B%20%0AnewDoc.open%28%29%3B%20%0AnewDoc.write%28%27%3Chtml%3E%3Chead%3E%3Ctitle%3ESource%20of%20%27%20%2B%20document.location.href%20%2B%20%27%3C/title%3E%3C/head%3E%3Cbody%3E%3C/body%3E%3C/html%3E%27%29%3B%20%0AnewDoc.close%28%29%3B%20%0Avar%20pre%20%3D%20newDoc.body.appendChild%28newDoc.createElement%28%22pre%22%29%29%3B%20%0Apre.appendChild%28newDoc.createTextNode%28document.documentElement.innerHTML%29%29%3B 3. Tap  + then Add Bookmark (Note, you can not bookmark a blank tab, so you must visit another web page first to do this.

4. The first text field is the Title field. Change the title to View Source.   Leave the second field (the Address Field) alone and hit save.

5. Tap the Bookmarks icon and then edit.  Find View Source in the list and tap the right arrow for the bookmark’s details. Now tap the Address Field and hit the X icon to clear it. Tap and paste the javascript from the clipboard.

5. Tap the Bookmarks navigation item to save the changes.

Voila.  Go to any web page using Safari, tap the Bookmarks icon and hit View Source.  Safari will open a page of source code in plain text in a new window.

87 comments

Thanks very much – a great debug tool.

Thanks a lot !! most useful tip ever. best regards from Hamburg

Hey Thanks a lot for this… got me out of a jam this morning. Very useful!

Nice tip that… I’ve been struggling with how to view source on the iPad for a while. Thanks 🙂

Excellent tip! Thanks for providing much needed functionality for Safari on iPad.

Thank you !

Worked like a dream. Thanks so much for the hack.

Thank you! Very cool!

Wicked tip. Thanks!

Very cool. Thank you. Anyone know of an editor app?

Fantastic tool!

Genius – ta vm …

  • Pingback: Three ways to view web page source on the iPad & iPhone. « glasskeys.com

Thanks Rob!

Thanks Rob! Nice tip!

Nice! Awesome trick man needed that

Thanks a lot … you just saved me of hours and hours of pain.

Great tip! Thank you!

  • Pingback: Viewing HTML Source Code on iOS | Tech N Comp

Thank you 🙂

Brilliant tip! Thanks!

Thanks! This tip was lifesaver.

Cool ! thanks you so much !

Awesome tip! Thanks alot.

  • Pingback: Cartoon: May the Source Be With You : Casa Semplice
  • Pingback: Cartoon: May the Source Be With You | Golden Key Coaching
  • Pingback: Cartoon: May the Source Be With You | Scripting4U Blog

Thank you very much for this!!!

Thanks Rob…it was a need to be fulfilled and you certainly did it!

Very useful! Thanks for this.

Great info. Works great, thatnks

Only shows from head? I wouldn’t normally care except for the only thing I needed to see the source for was to see what classes modernizr added to html :{

Thanks a lot man! Excellent tool +2334235564563457

  • Pingback: IPad, web and developers | Serge's Technology View

Thanks for the tip, it worked like a charm. Only question is this, is there a way to copy the text from the source code, so I can paste it in another document? Thanks.

Kl thanks for that..it’s pretty pimp 😉

The ipad2 does let you edit the bookmark content. Suggestions?

Excellent! thank you

Useful jscript, but he dont formating innerhtml throught new row

Thank you so much for the post!

That is awesome! U rock!!!

Works a treat!

Thanks a lot!!!

Great post – works like a dream.

Wow, best tip ever! Been struggling with this some time. Did a Google search for source code on iPad and viola!! Thanks much!!

You are awesome! Thanks buddy!

Awesome ! Thanks a ton …

Is there a way to somehow copy that source code and paste it in a document / email as well ?

Great tip. Thank you for that bit of JavaScript magic. Apple products: A child of two could use one… as long as you use it the way Apple wants you to!

Is there anyway for you to improve it so it allows us selecting some text of the source code to copy/paste ?

Nice! Thanks!

This is great. Great directions, simple and easy to implement. I use the iPad in place of my laptop so much, especially for researching websites. This is awesome. Thanks so much for sharing! – Bob

You can have CodeNavigator in iPad have a try

Thanks a bunch!!!

Thank so much man

Thank you very much!! :€

Thanks, add to this, do you know how to copy all this source and send to email or twitter?

Thank you! Just what I needed this morning!

Fantastic tip, was super helpful for a problem I was haing today, thanks!!

Excellent tool. Thanks for posting.

Hello, thanks for putting this online (with all the other great resources). Am currently on vacation away from my computer and I was stumped with only my iPhone to debug a website. Thanks again, really made my trip better.

Thanks, works like a champ.

Ive created a slightly different version which takes the entire DOM and uses GeSHi to enable syntax highlighting, clickable links and selectable text. I’ve described the process here: http://blog.grapii.com/2012/07/view-source-of-a-web-page-on-ipad-iphone-or-ipod-touch-using-mobile-safari/

Great tip! This was the missing piece of the iPad experience for a curious web designer. “You complete me!”.

This is great however, my ipad won’t select all of the text so i can use it on my PC, ideas?

I cannot work out how to do this. I can selec the text, but dont understand what “tap + then add bookmark”. What should I tap? 1) the “+” on the keyboard. This doesnt work. 2) the text I have just copied? It just unhighlighs the text 3) There is no “+” on the browser top nav like in the screen shot in the IPAD 3. There is a “+” to add new tabs, but this doesnt have anything to do with it I presume.

So cant work out how to get this tip to work in ipad3.

This work so good. Like it love it. Genius use of javascript parsing techniques intrinsic to the broswer. Fresh fresh very fresh

Does not work on iOS 6

What doesn’t work in iOS 6 is step #3, because Safari won’t let you create a bookmark of a blank tab. But you can do it if you just bookmark this blog article, change the Title to “View Source” and follow the rest of the steps.

Works great! Thanks!

I have iOS 6.0.1. Works great. Thank you.

Thanks for that comment Rixtur, I’ll update the entry.

Awesome! Exactly what I needed. Comparing code on two web-sites. Using my iPad 2 (iOS 6.1), don’t have my laptop with me today. Found this – problem solved!

Omg thanks It really helped!!

Many thanks for your useful tips. It worked perfectly on my iPad with iOS 6.1.2.

Thanks a bunch!

Awesome trick. Sharing is caring.

Nice Tip. Thank you

I tried to add this to the iPad with iOS7 today on May 12, 2014. But when I tried to create a bookmark, I can sure edit the title but not the address field. So cannot paste the JS code in the address bar. Am I doing something wrong? Thanks.

I got the source code view on the iPad with iOS7 now, but with VoiceOver, it reads it as a chunk. I cannot navigate the code by line or word etc. Sothat seems to be a barrier. Thanks

  • Pingback: Ipad Website Code | Get Your iPad Now

This still works. Thanks for saving me some pain!

Leave a comment Cancel reply

Your email address will not be published. Required fields are marked *

How To View Page Source On Tablet

Copy to Clipboard

  • How-To Guides
  • Tech Setup & Troubleshooting

how-to-view-page-source-on-tablet

Why Would You Want to View Page Source on Tablet?

Modern tablets have become increasingly powerful and versatile devices, capable of performing a wide range of tasks. One of the lesser-known features of tablets is the ability to access and view the page source of a website. The page source, also known as the HTML source code, contains the underlying structure and elements of a webpage.

So why would you want to view the page source on a tablet? Here are a few reasons:

1. Debugging: If you are a web developer or designer, being able to view the page source allows you to identify and fix any issues or bugs in the code. This can be particularly useful when testing a website on different devices.

2. Learning: Viewing the page source can be a valuable learning tool, especially if you are new to web development. By examining the code of well-designed websites, you can gain insights into best practices, coding techniques, and the overall structure of a webpage.

3. Customization: Some websites may have certain features or elements that you would like to customize or modify. By viewing the page source, you can identify the specific code responsible for those elements and make changes accordingly.

4. Security: Occasionally, there may be suspicions of malicious code or hidden scripts on a webpage. By inspecting the page source, you can investigate any potential security threats and take appropriate action to protect your device.

Overall, viewing the page source on a tablet provides you with a deeper understanding of how websites are built, the ability to troubleshoot issues, and the opportunity to make customizations or ensure security.

How to View Page Source on an iPad

Viewing the page source on an iPad can be done using the built-in Safari web browser. Follow these steps to access the page source:

1. Open the Safari browser on your iPad and navigate to the website whose page source you want to view.

2. Once the webpage loads, tap on the Share icon located in the toolbar at the top of the screen. It looks like a square with an arrow pointing out of it.

3. In the Share menu that appears, scroll through the options until you find “More” and tap on it.

4. A list of activities will appear. Look for the “View Source” option and toggle the switch next to it to enable it. Tap “Done” to save the changes.

5. Now, tap on the Share icon again and you should see the “View Source” option in the list. Tap on it.

6. The page source code will now be displayed in a new tab. You can scroll through the code to examine the HTML structure and elements.

Note that viewing page source on an iPad is only possible in the Safari browser. Other third-party browsers may have different methods or may not support this feature at all.

Keep in mind that the page source code may appear daunting, especially if you’re not familiar with HTML. However, by understanding the basic structure of HTML tags, you can gain valuable insights into how the webpage is constructed.

How to View Page Source on an Android Tablet

Accessing the page source on an Android tablet can vary depending on the web browser you are using. Here are the general steps to view page source:

Google Chrome:

1. Open the Chrome browser on your Android tablet and navigate to the website you want to view the page source of.

2. Once the webpage loads, tap on the three-dot menu icon located in the upper-right corner of the screen.

3. In the menu that appears, tap on “More tools” and then select “Developer tools”.

4. A panel will open at the bottom of the screen. Tap on the three-dot icon in the lower-right corner of the panel and select “View page source”.

5. The page source code will now be displayed in a new tab. You can scroll through the code to examine the HTML structure and elements.

1. Open the Firefox browser on your Android tablet and navigate to the website you want to view the page source of.

3. In the menu that appears, tap on “Page” and then select “View Page Source”.

4. The page source code will now be displayed in a new tab. You can scroll through the code to examine the HTML structure and elements.

Other web browsers may have similar options to access the page source, but the specific steps may vary slightly. It’s important to note that not all web browsers on Android tablets support viewing page source.

By exploring the page source on an Android tablet, you can gain insights into the underlying code of a webpage, helping you understand how it is structured and designed.

Using Third-Party Apps to View Page Source on Tablets

In addition to using built-in web browsers, you can also utilize third-party apps to view the page source on tablets. These apps offer additional features and flexibility for examining HTML code. Here are a few popular options:

1. View Source: View Source is a free app available for both Android and iOS devices. You can simply download and install the app from the respective app stores. Once installed, you can enter the URL of the website you want to inspect, and the app will display the page source code in a user-friendly format.

2. iSource: iSource is a feature-rich app available for iOS devices. It not only allows you to view the page source code but also offers syntax highlighting, collapsible sections, and the ability to save and share the code. It is a great option for web developers and designers who require advanced features for analyzing and manipulating the source code.

3. HTML Source Code Viewer: HTML Source Code Viewer is an Android app that provides a simple and intuitive interface to view the page source of any website. It lets you browse the source code hierarchy, search for specific elements, and highlight code sections for better readability.

4. Web Developer: Web Developer is a popular browser extension available for major desktop web browsers, such as Chrome and Firefox. Many of these extensions also offer a mobile version compatible with tablets. The extension provides a wide range of web development tools, including the ability to view and edit the page source code.

Keep in mind that when using third-party apps, it’s important to choose reputable ones from trusted developers. Additionally, be cautious while granting permissions and ensure the app aligns with your device’s security settings.

By utilizing third-party apps, you can enhance your ability to analyze and explore the page source code on your tablet, providing you with more comprehensive insights into the structure and elements of a webpage.

Tips and Tricks for Viewing Page Source on Tablets

When viewing the page source on tablets, there are several tips and tricks that can enhance your experience and make it easier to analyze the HTML code. Here are a few useful tips to consider:

1. Use landscape mode: Rotating your tablet into landscape mode can provide a wider view of the page source, making it easier to navigate through the code horizontally. This can be especially helpful when examining long lines of code or complex nested elements.

2. Zoom in and out: Adjusting the zoom level of the page source can improve legibility and make it easier to read the code. Pinch and spread gestures on the touch screen can be used to zoom in and out, allowing you to focus on specific sections or get an overview of the entire code.

3. Utilize search functionality: Most web browsers and page source viewer apps offer search functionality to help you quickly locate specific elements or tags within the code. Take advantage of this feature to save time when navigating through lengthy source code.

4. Inspect elements: Some web browsers and developer tools allow you to inspect individual elements on a webpage. By right-clicking on an element and selecting “Inspect” or similar options, you can directly access the relevant code associated with that element, making it easier to analyze specific sections.

5. Take screenshots: If you want to refer back to the page source code later or share it with others, consider taking screenshots of the code. Most tablets have built-in screenshot functionality, usually activated by simultaneously pressing the power and volume down buttons. This can be a convenient way to capture and store the page source code for future reference.

6. Experiment with developer tools: If you are a web developer or enthusiast, exploring the various features and options in web browsers’ developer tools can provide valuable insights and enhance your understanding of web development. Experiment with features like live editing, inspecting network requests, and debugging to gain a deeper understanding of how websites and web applications work.

By applying these tips and tricks, you can improve your efficiency and effectiveness in viewing and analyzing the page source on tablets. Whether you’re a developer, designer, or simply curious about the inner workings of websites, these techniques can help you navigate and understand the HTML code more effectively.

Viewing the page source on tablets can be a valuable tool for web developers, designers, and individuals who want to gain a deeper understanding of how websites are built. Whether you’re using an iPad or an Android tablet, accessing the page source is possible through the built-in web browsers or third-party apps.

By examining the HTML code, you can troubleshoot issues, learn best practices, customize elements, and ensure the security of websites. Built-in features in web browsers, such as Safari on iPad or Chrome on Android, allow you to access the page source with a few simple steps.

Furthermore, third-party apps like View Source or iSource provide additional functionality and a user-friendly interface to explore the page source on tablets. These apps offer features like syntax highlighting, code editing, and saving/sharing options to enhance the viewing experience.

As you delve into the page source, consider using landscape mode, zooming in/out, utilizing search functionality, inspecting elements, taking screenshots, and experimenting with developer tools to make the process more efficient and insightful.

Remember, understanding the page source code may seem daunting at first, but with time and practice, you can gain valuable insights into the underlying structure and elements of websites.

So, whether you’re a curious individual or a web professional, don’t hesitate to explore the page source on your tablet. Unlock the secrets of websites and expand your knowledge of web development as you dive into the HTML source code.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Save my name, email, and website in this browser for the next time I comment.

  • Crowdfunding
  • Cryptocurrency
  • Digital Banking
  • Digital Payments
  • Investments
  • Console Gaming
  • Mobile Gaming
  • VR/AR Gaming
  • Gadget Usage
  • Gaming Tips
  • Online Safety
  • Software Tutorials
  • Tech Setup & Troubleshooting
  • Buyer’s Guides
  • Comparative Analysis
  • Gadget Reviews
  • Service Reviews
  • Software Reviews
  • Mobile Devices
  • PCs & Laptops
  • Smart Home Gadgets
  • Content Creation Tools
  • Digital Photography
  • Video & Music Streaming
  • Online Security
  • Online Services
  • Web Hosting
  • WiFi & Ethernet
  • Browsers & Extensions
  • Communication Platforms
  • Operating Systems
  • Productivity Tools
  • AI & Machine Learning
  • Cybersecurity
  • Emerging Tech
  • IoT & Smart Devices
  • Virtual & Augmented Reality
  • Latest News
  • AI Developments
  • Fintech Updates
  • Gaming News
  • New Product Launches

Close Icon

  • 12 Best Free AI Image Sharpeners in 2024 WebPCMobile

Sanjuksha Nirgude Soaring High with Robotics

Related post, unveiling the secrets of sls printing and its role in robotics, unleashing efficiency: the role of robotic process automation in industry 4.0, advancing cybersecurity: the integration of robotics with emerging sms phishing alert tools – innovations, challenges, and future perspectives, robotics redefining long-term investment horizons, bridging software development and robotics for enhanced automation, the role of robotics in cnc machining for large part production, related posts.

How To Download Youtube On Amazon Tablet

How To Download Youtube On Amazon Tablet

15 Best Ereader Holder For 2024

15 Best Ereader Holder For 2024

How To Download Movies To A Tablet

How To Download Movies To A Tablet

How To Download Netflix On Android Tablet

How To Download Netflix On Android Tablet

How To Install Kodi On Fire Hd Tablet

How To Install Kodi On Fire Hd Tablet

What Do I Do With A Tablet

What Do I Do With A Tablet

How To Use The Fire Tablet

How To Use The Fire Tablet

How To Remove Viruses From Tablet

How To Remove Viruses From Tablet

Recent stories.

12 Best Free AI Image Sharpeners in 2024 (Web/PC/Mobile)

12 Best Free AI Image Sharpeners in 2024 (Web/PC/Mobile)

Sanjuksha Nirgude Soaring High with Robotics

OpenStack Backup and Recovery Software

Apple Wallet Availability in the PocketGuard App: Sync your Apple Card, Apple Cash, and Savings from Apple Card Accounts

Apple Wallet Availability in the PocketGuard App: Sync your Apple Card, Apple Cash, and Savings from Apple Card Accounts

5 Ways to Improve IT Automation

5 Ways to Improve IT Automation

What is Building Information Modelling?

What is Building Information Modelling?

How to Use Email Blasts Marketing To Take Control of Your Market

How to Use Email Blasts Marketing To Take Control of Your Market

Learn To Convert Scanned Documents Into Editable Text With OCR

Learn To Convert Scanned Documents Into Editable Text With OCR

Robots.net

  • Privacy Overview
  • Strictly Necessary Cookies

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

ipad safari view page source

  • ABOUT HowToDoEverything
  • HOW TO DO EVERYTHING
  • Tech/Software

How to view page source in iOS

view page source in iOS

Read Next →

how to block junk mail

How to block junk mail in Outlook, Gmail and on iPhone

how to erase facebook profile

How to erase Facebook profile pages permanently

how to track AirPods

How to track AirPods — and avoid being tracked yourself

It’s pretty simple to view page source on a desktop… just right-click and request it. But it’s not so easy on iPad or iPhone. There’s no one-click interface for iOS, but our guide shows how to view page source in iOS.

So… it’s a bit of a workaround to view page source in iOS. But it only takes about 60 seconds to set up, and then you have pretty much a one-click solution any time you want to view page source in iOS on your iPhone or iPad. This is a simple solution, but be warned that it’s probably not for those who are at the stage where they want to start to use a computer as a beginner .

Step 1: In Safari, Chrome, Firefox etc on your iPad or iPhone, on any page (even this one) use the ‘Send to’ symbol to set a bookmark.

Step 2: Delete the name of the page, and rename the bookmark ‘Page Source’

Step 3: Edit the bookmark, and replace the URL with this code:

javascript:(function(){var a=window.open(‘about:blank’).document;a.write(‘<!DOCTYPE html><html><head><title>Source of ‘+location.href+'</title><meta name=”viewport” content=”width=device-width” /></head><body></body></html>’);a.close();var b=a.body.appendChild(a.createElement(‘pre’));b.style.overflow=’auto’;b.style.whiteSpace=’pre-wrap’;b.appendChild(a.createTextNode(document.documentElement.innerHTML))})();

Step 4: Next time you are on a web page you want to view page source in iOS on your iPad or iPhone, click your Page Source bookmark, and …. there it all is!

Why do you need to view page source in iOS?

behind every website is page source text, which everyone can view and study.  This source code makes it clear what a website actually is, namely a pure text document. It doesn’t matter if it was created with WordPress or a program with a slick graphical interface. 

At the end there is text, which, in addition to the obvious content, also provides a lot more information. This information is particularly useful when there are problems, but the reason for this is not easily discernible. The help is often: Show page source text! But how do you get to that? And what exactly does it say?

Top Apple iOS 14 features to know about

Each browser offers the option to view page source text

The path to page source text is very short with the popular browsers: Click anywhere on any web page with the  right mouse key . The context  menu appears, which includes the  View Page Source Text option. Clicking on it, now with the left mouse key, will cause the source code to open in a new tab or window. Alternatively, you can use the Key combination  Ctrl+U  on a Windows computer. Both procedures apply at least to Google Chrome, Firefox and Internet Explorer.

What does the page source text show?

Basically, the page source text corresponds to the browser view with all its texts, images and graphics. But it also represents all HTML . This not only means that there are a lot of letters and characters in angle brackets. It also means that, for example, images and graphics do not appear. Instead of the actual image, you will see the appropriate HTML element with its clickable path to the location of the image file. In addition, the source code also shows all elements that are not visible in the browser view. This includes, in particular, all the data that are in the so-called  head area.

What is the point of doing this?

In fact, there are good reasons to keep looking at source code. When I started working on HTML a long time ago, it was all about learning.  How did they do that? , I wanted to know. So I looked at the code and tried to understand. As with all other languages, learning only helps with constant practice and application. A wonderful offer for this is also the  browser function Investigate   (or Examine  Element  or  Examine  or whatever it is currently called). In contrast to  displaying page source  text, however, the investigation not only provides the complete source code, but also clearly represents the individual elements. For example, you can find out exactly what a single item is called and how it is formatted.

Which theme does this website use?

You may have noticed that you wanted to know if a website was made with WordPress. Or what theme it uses. No special tools are needed for this. Select  View page source  code, and then use  Ctrl+F  to search the page for  theme.  If it is a WordPress site, you can find the  link links of the style sheet(s) with the path from which the theme name is indicated. Since themes are always stored in the  directory wp-content/themes/,  you can read its name by the following folder name. In the case of this website, it would be:  wp-content/themes/radiate .

Finding errors

The second important reason is to find errors when there are problems, but you don’t realize the reason for them. Sometimes the complete view alone provides the essential insights. Not only is the extensive  head area a potential supplier for errors. Also in the  body area there is a lot more than the individual contribution seems to give. You have not provided all this information on your individual (contribution) pages. So where does this information come from?

The answer is: you have different sources. One is, for example, the template  header.php ,  which first of all makes other important ones with the necessary  html tag.  style-Angaben  probably comes from the  Additional CSS  of your theme. Via  link  link, all  style sheets  and probably already various  scripts  are integrated. However, the so-called  meta tags, which are read out by search engines, are also very important. For example, they should not appear double; especially not when it is the so-called  open graph  tags, which serve to represent a post on Facebook.

In the  body  you will find information about the  header area  and the  menu  of the website. The actual  content  only appears in the  content area , to which then also usually belongs a  primary area. And if there is a  primary area, there is also a  secondary area. It is then responsible for the  sidebar  with all its  widgets.  And finally there is the  footer , i.e. the  foot area , in which probably also a lot of scripts are still standing. So it might seem you have to dig pretty deep in search of the error… But the effort can be worth it!

' src=

Editorial Team

How To Do Everything
  • Beauty/Grooming
  • Cars/Motorcycles
  • Eco/Natural
  • Fake Checks
  • Fashion/Style
  • Finance/Investing
  • Health/Life
  • Leisure/Sport
  • Parenting/Children
  • Uncategorized
  • iPhone IMEI Check
  • Samsung IMEI Check
  • Motorola IMEI Check
  • LG IMEI Check
  • Xiaomi IMEI Check
  • Pixel IMEI Check
  • Nokia IMEI Check
  • Oppo IMEI Check
  • Honor IMEI Check
  • iCloud Status Check
  • Blacklist Status Check

UnlockBoot

Guide To View Webpage Source Code Using Safari On iPhone or Mac

Web pages are created in HyperText Markup Language usually. They have a number of elements such as scripts, images, etc. that show more of them. It could be that you want to view webpage source code on iPhone, iPad, iPod Touch or Mac using Safari.

view webpage source on iphone

Good news is it is easy to see the HTML source code of any webpage using Safari . It’s quite easy to do so if you have your Apple device.

Viewing Source Code of a Safari Webpage on mac

To view the source code on Mac, first you need to activate Develop Mode. Follow these steps.

  • Launch Safari on Mac and click Safari -> Preferences.
  • Click Advanced Tab -> check the box beside “Show Develop menu in the menu bar.”

view webpage source on mac

You’ll now see that the menu bar has a new tap called Develop.

Showing/Viewing Page Source Code on Mac in Safari

Viewing the page source using Safari browser on Mac can be done in three ways:

  • Right-click on a webpage and choose “Show Source Code” and it will display in the new window.
  • While on the web page, press together Option/Alt+Command+U keys.
  • While on any web page, select Develop from Menu bar -> Show Source.

view page source on mac

View Webpage Source Code on iPhone or iPad in Safari

There are several iOS apps that enable you to see the source code of any web page for Safari in iOS devices. The handiest according to use is “Source” when it comes to seeing HTML sources.

Follow these steps to install and activate the view HTML source code Safari Extension on your iOS device:

  • Download “ Source: View HTML Source Code of Webpage on Safari ” for your iDevice. You’ll have to pay $0.99.
  • Launch “Safari” and tap “Share” in the toolbar.
  • Scroll towards to the end and tap “More.”
  • Activate Source, tap “Done” at the top right for confirmation.

view html source on iphone

Viewing/Accessing Webpage Source Code

After enabling Safari extension on iPhone or iPad, the source code can be viewed by taking these steps.

  • Open Safari on iPhone or iPad and go to any page on the internet.
  • The next step is to tap the button “Share.”
  • Finally, tap on “Source” and you’ll be able to see the HTML source of the webpage on your iPhone or iPad.

view source safari ios 10

After that, the page source will be shown on your iPhone or iPad. Now you can see the html page source on iPhone, iPad or iPod Touch using Safari browser .

view webpage source on ipad

Free Way to View Page Source on iPhone or iPad in Safari Browser

There’s a free way to view page source in Safari for iPhone and iPad. Follow the steps below to create a view source button in Safari :

Step 1: Create a new bookmark and save it in your bookmarks folder.

Step 2: Edit the bookmark and instead of webpage address add this javascript code: https://ole.michelsen.dk/viewsource/bookmarklet.min.js

view page source on iphone

Step 3: Tap Done to save the View Source bookmark.

Step 4: Navigate to the webpage you want to view the source code and tap on the bookmarks button .

view page source on iphone with safari

Step 5: Now tap on the View Source bookmark and the page source will be displayed in a new tab.

view source code on iphone

You’re done. This is a free way to view page source on iPhone and iPad in Safari browser.

People like me, who are into the development side of iOS, as well as those who are curious, would love seeing the complex source code of Safari webpages. It is also useful to learn a thing or two about it to know if your website looks good to those who browse the web via Safari. What are your thoughts? Did you find this article useful? Feel free to leave comments.

RELATED ARTICLES MORE FROM AUTHOR

clear safari history on iphone

Simple Way To Clear Safari History On iPhone and iPad

turn off private browsing on iphone

How to Turn On or Off Private Browsing On iPhone or iPad

download safari for windows

Download Safari for Windows 10, 8 or 7 and Use it on PC

Related articles to read, top this week on unlockboot.

ipa download sites

Best Free IPA Download Sites To Install iOS Apps for iPhone

pokemon gba for iphone

Install GBA Emulator iPhone With iOS 11 / 12 Without Jailbreak

icloud removal service

Official iCloud Removal Service to Bypass iCloud Activation

iphone 4 icloud bypass

Bypass iOS 7.1.2 Activation Lock & Jailbreak iPhone 4

bypass icloud activation

Bypass iCloud Activation Lock iOS 8.1.3 / 11 / iOS 12.2

Check if Samsung Phone is Unlocked

How to Check if Samsung Phone is Unlocked or Locked

iphone is disabled error

iPhone is Disabled Error Fix Without iTunes Restore

mac torrent sites

10 Best Mac Torrent Sites in 2021 to Fulfill your Streaming...

  • Privacy Policy
  • Cookies Policy

You can make a difference in the Apple Support Community!

When you  sign up with your Apple ID , you can provide valuable feedback to other community members by  upvoting helpful replies and User Tips .

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

B90

View HTML source code in safari on ipados

Where has the functionality to view html source code on web page gone ?

Utilizing 13.2.3

iPad Pro, iOS 13

Posted on Nov 19, 2019 6:31 AM

Posted on Nov 24, 2019 2:00 PM

Thank you for the info, I am aware of this solution however it negates my need for an iPad as a full blown professional tool, if we need to connect to a MacBook.

Similar questions

  • How do you open View Source in new tab? I want to View Source of a website page in Safari, in a new tab, like all other browsers. We are looking at changing from Chrome to Safari, as that has better ad blockers, and yet when you View Source it does so in a small window at the bottom. How do we do it in a new tab, also we can see the whole page code? 1690 1
  • Web pages covered by text-only version in Safari in new IPad Air 14.4 When I load a webpage such as https://discussions.apple.com/thread/7767808 in Safari on my new iPad Air running iOS 14.4, I see the page correctly for an instant as it is being covered by a text-only version that comes down like a curtain from the top. The above page loads correctly in Chrome. 1629 3
  • Do I need safari browser ? Do I need safari browser 257 2

Loading page content

Page content loaded

Nov 24, 2019 2:00 PM in response to VikingOSX

MoonJ.

Nov 22, 2019 6:09 AM in response to B90

Hey there B90,

Thanks for reaching out to Apple Support Communities. I understand you want to be able to view HTML source code on a web page from Safari on your iPad. I’ll be happy to help with this.

It doesn't look like this is an option from your iPad. If you want to view this from Safari on a Mac, go to Safari > Preferences > Advanced from the menu bar. Enable Show Develop menu in menu bar:

Use the developer tools in the Develop menu in Safari on Mac

Let me know if this helps.

Nov 23, 2019 6:44 AM in response to MoonJ.

Thank you for the straight answer. I am aware that this option is available on macOS, however with out this functionality on iPadOS, it limits my ability to completely migrate to iPadOS as a power user friendly platform. Is there a logic to disabling the ability to see the underlying html on a web page ?

VikingOSX

Nov 23, 2019 7:12 AM in response to B90

These are fellow user supported, open community sites, so Apple Product teams do not participate here; nor can I speculate about the absence of a Safari Developer feature that would allow you to view HTML.

Must it be Safari, or provided the feature is available in FireFox for iPadOS, might that be a suitable browser alternative?

I will have access to iPadOS 13 tomorrow, and will investigate this further then.

Nov 24, 2019 12:07 PM in response to B90

Apparently, in iPadOS 13.2.3, with a web site open in iOS Safari, you must tether the iPad to your Mac, and then use the Safari Develop menu on macOS to activate the web inspector on the iPad. This is noted in iPadOS Settings : Safari : Advanced panel.

I just confirmed this after the update to iPadOS 13.2.3, though I did not bother to test the process. The iOS Safari product team was fishing for bass-ackwards in that decision.

Nov 25, 2019 8:55 AM in response to B90

I still suggest that you install and assess the iOS Firefox's ability to do what you need. They integrated the old Firebug Add-on functionality into the Desktop Firefox browser, and it may also be in the iOS version. Of course, if you are attempting to test and view web source changes in iOS Safari, Firefox won't be the ideal tool for that.

It is best that I do not describe what I am thinking about the iOS Safari development team, and their conflict with reason.

Nov 22, 2019 11:48 AM in response to B90

You didn't mention it as a step taken, but in Settings : Safari, have you enabled the Developer option? I do not have iPadOS 13 here right now.

Nov 23, 2019 7:14 AM in response to VikingOSX

If the feature is available on any browser, then that solves our problem. Ideally I strive for neat solutions that limits the number of apps, that is why I was referring to Safari.

Nov 23, 2019 7:25 AM in response to B90

I too, prefer a minimalist installation of applications. I will post back here tomorrow afternoon after I have renewed my access to iPadOS 13.

OS X Daily

Tips & Tricks

Troubleshooting, how to view page source in safari on mac.

Safari for Mac

Viewing a web pages source code in Safari, and other web browsers, is a fairly routine activity for many people who work with the web for a living or even as a hobby. Unlike some other browsers, to view page source in Safari you must first enable a developer toolset for the browser to be able to access the view web page source feature.

This tutorial will demonstrate how to view a web pages source in Safari on Mac OS. This applies to all versions of Safari and MacOS.

How to View Page Source in Safari for Mac

Here is how you can view a web pages source in Safari on MacOS:

  • First, enable the Safari Develop menu by going to the Safari menu, choosing “Preferences”, going to “Advanced” and checking the box to enable the developer menu

Enabling the Develop menu in Safari for Mac allows you to view pages source

  • Next, in any Safari window, navigate to the web page whose source you wish to view and inspect
  • Pull down the “Develop” menu at the top of the screen and select “Show Page Source” from the menu options

How to view page source in Safari on Mac

  • The web web pages source will appear on screen in the web inspector Sources section, a web developer toolkit built into Safari

Viewing page source in Safari for Mac

Aside from viewing page source, you can also use the Develop menu to accomplish many other web useful tricks and developer tasks, including disabling Javascript and clearing Safari cache amongst myriad other functions and capabilities that are geared towards advanced users and developers, like finding embedded files in pages .

How to View Page Source by Keyboard Shortcut in Safari on Mac

After you have the Develop menu enabled in Safari, you can also use a keyboard shortcut to quickly view any web page source in the Safari browser for Mac:

  • Navigate to the web page you wish to view the page source for
  • Press Command + Option + U keyboard combination to view the page source

The keyboard shortcut for viewing page source will open the web inspector tool, just like accessing it from the Develop menu.

If you’re an advanced user of Safari, enabling the Develop menu is likely one of the first things you do when you launch the browser for the first time.

For what it’s worth, the Chrome browser and Firefox browsers also have similar web element inspector capabilities, but obviously we’re focusing on Safari for Mac here.

The Developer functions in Safari for Mac are not available for iPhone or iPad (yet anyway), but if you’re interested in gaining source viewing options on the mobile side you can use this javascript trick to view page source in iOS and ipadOS versions of Safari.

Do you have any handy tips or tricks associated with viewing page source or the developer toolset in Safari? Share your thoughts, tips, and experiences with us in the comments.

Enjoy this tip? Subscribe to our newsletter!

Get more of our great Apple tips, tricks, and important news delivered to your inbox with the OSXDaily newsletter. 

You have successfully joined our subscriber list.

.

Related articles:

  • How to Turn Off Split Screen in Safari for iPad? Exiting Safari Split Screen in iPadOS
  • How to Take Full Page Screenshots in Safari on iPhone & iPad
  • How to Customize Safari Start Page on Mac
  • How to “View Source” from Safari on an iPad or iPhone

» Comments RSS Feed

I appreciate how you made achieving this goal simple and clear. Out of all the search results I reviewed on this subject the information is the only one that has value. Thanks

I learn something from more than 90% of what you send me in your newsletters. My wife and myself are 70yrs old and we aren’t very computer literate. We both have MacBook Air laptops. They are new and running macOS Catalina 10.15.7 We are reluctant to upgrade to macOS Big Sur. I’m collecting everything I can find that you print about Big Sur. Once we’re comfortable, I think we may try it. I’m writing to thank you for what you do for us and you ask for nothing. ThankYou! ~Peter~

Leave a Reply

Name (required)

Mail (will not be published) (required)

ipad safari view page source

Subscribe to OSXDaily

Subscribe to RSS

  • - How to Prepare Your iPhone for iOS 18
  • - Which Apple Watch Models Support WatchOS 11? Here’s the List
  • - iPadOS 18 is Compatible with These iPads
  • - iOS 18 is Compatible with These iPhone Models
  • - MacOS Sequoia is Compatible with These Macs
  • - Fun: Don’t Forget to Accept New iCloud Terms & Conditions
  • - Release Date for iOS 18, macOS Sequoia, iPadOS 18, is September 16
  • - MacOS Sequoia 15 Release Candidate Available to Download Now
  • - iOS 18 Release Candidate Available to Download Now

iPhone / iPad

  • - iPhone 16 & iPhone 16 Pro Announced with Faster Chips & Apple Intelligence Support
  • - iOS 18 Beta 8 Available to Download
  • - MacOS Sequoia 15 Beta 8 Available to Download
  • - How to Run Llama LLM on Mac, Locally
  • - MacOS Sequoia 15 Beta 7 Available for Testing
  • - How to Recover an Unsaved PowerPoint on Mac
  • - How to Uninstall VMWare Fusion on Mac
  • - chronod on Mac – High CPU Use & Network Access Requests Explained
  • - Why Are iPhone Videos Low Quality & Blurry When Sent to Android Users?
  • - Fix brew Error “The arm64 architecture is required for this software” on Apple Silicon Mac

Shop on Amazon to help support this site

About OSXDaily | Contact Us | Privacy Policy | Sitemap

This website is unrelated to Apple Inc

All trademarks and copyrights on this website are property of their respective owners.

© 2024 OS X Daily. All Rights Reserved. Reproduction without explicit permission is prohibited.

Please enable JavaScript in your browser to enjoy a better experience.

How to View Website Source Codes on Your Mobile Devices

Whether you’ve just started into web development or learning and exploring how things work behind the scenes, it helps a lot to view the HTML source code behind a certain website. Well, you can easily do that right from your Android or iOS device.

So, in this tutorial, I will tell you how to view the HTML source code of a web page on both iOS and Android platforms. But first, let’s find out what the source code is.

Best Websites to Test Your Codes Online

Discover the top tools for online coding in this comprehensive guide. Boost your skills and productivity with these... Read more

How to view website source codes on iPhone and iPad

If you want to view the source code of a web page on your iPhone or iPad, you’ll need a website source code viewer tool. There are many apps that make this procedure simple, with syntax highlighting to help you comprehend what you’re looking for.

HTML Viewer Q is one of the best tools to view website source code on iPhone that you can install for free from the App Store. Let’s use this tool to see the source code of the Amazon website.

Step 1. Launch HTML Viewer Q

Launch HTML Viewer Q from your Home screen and tap on the Link button at the top right of the app.

Step 2. Enter the website’s URL

Enter the full URL of a web page that you want to see the source code of and then tap the Go button.

Step 3. View the source code

Once the page loads, tap on the Code (</>) button at the top left of the app and you will see the source code of the website with syntax highlighted in different colors.

How to view website source codes on Android

If you want to check a web page’s source code on Android, HTML Source Code Viewer Website would be a good choice. It does an excellent job of highlighting HTML syntax and displaying line numbers.

You may also simply highlight code and copy/paste it into another application with this tool. You can also save the code, search for keywords, change the background colors, and a lot more through this app.

Here’s how to use it to view the source code of any website.

Step 1. Launch the app

Launch the HTML Source Code Viewer app from your Home screen and enter the URL of the website that you want to view the source code of (for this guide, we’re using Amazon).

Step 2. View the source code

Click the Source Code button. It will show an HTML file with all the source code of the website.

View source codes on Android and iPhone without an app

While there is a way to view the HTML source of a website on Android or iPhone through the app, you can also view it without it by using the View Page Source website . This tool allows you to view the formatted version of the source code of any website right in the browser.

Step 1. Copy/paste the URL

Open the View Page Source website, copy the URL of the website that you want to view the source code of and paste it into the search box on the website.

Now, click the View Source Code button and the source code of the website will be displayed to you.

Wrapping Up

Whenever you have a need to view the source code of any website, you can simply use the aforementioned tools to view it either on a mobile device or on your PC through the browser. From these tools you can also simply copy and paste the source code into other files or or apps.

Hope this article was helpful for you. Thanks for reading!

How-To Geek

How to turn on the develop menu in safari on mac.

4

Your changes have been saved

Email is sent

Email has already been sent

Please verify your email address.

You’ve reached your account maximum for followed topics.

Quick Links

How to enable the develop menu in safari on mac, how to view page source in safari on mac.

When you right-click on any web page in Safari on Mac, it doesn't reveal the Show Page Source and Inspect Element buttons. To see these, you need to enable the Develop menu---we'll show you how to do that.

Once you've enabled the Develop menu, right-clicking a blank space on any website will reveal the Inspect Element and Show Page Source buttons. These allow you to take a look at the source code of any website, which is useful for things like downloading images from websites and debugging code or finding out what it looks like behind any site (for website designers).

You can easily turn on the Develop menu in Safari by following a couple of steps. Open Safari on your Mac and click the "Safari" button in the menu bar.

Next, select "Preferences." Alternatively, you can use the keyboard shortcut Command+, (comma). This will also open up Safari preferences.

Go to the "Advanced" tab.

Check the box for "Show Develop Menu in Menu Bar."

Now the Develop menu will appear between Bookmarks and Window at the top.

Apart from being able to view the page source, this will allow you to access developer-focused features, such as disabling JavaScript on any website.

Once you've enabled the Develop menu, there are a couple of ways to view the page source in Safari.

Open any website in Safari and right-click the blank space on the page. Now, select "Show Page Source." You can also get to this menu by using the keyboard shortcut Option+Command+u.

If you're looking for images or other media elements from any web page, Safari makes it easy to find these. In the left-hand pane, you will see various folders such as Images, Fonts, etc. Click the "Images" folder to quickly find the photos that you need.

After selecting an image, you can view its details easily by opening up the details sidebar. The button to open this is located at the top-right of the console, just below the gear icon. You can also open this with the shortcut Option+Command+0.

Click "Resource" at the top of the details sidebar to view details, such as the size of the image and its full URL.

You can change the position of the page source console easily, too. There are two buttons at the top-left of this console, right next to the X button. Click the rectangle icon to move the console to a different side within the browser window.

If you'd like to open the page source console in a separate window, you can click the two-rectangles icon. This will detach the console and open it in a separate window.

To check out the code for any specific element on the page, you can right-click that element and select "Inspect Element." This will take you directly to the code for the element that you selected.

Whenever you're done looking at the code, click the X button to close the page source console and return to browsing on Safari. You can also check out how to view a website's page source in Google Chrome  here.

Related: How to View the HTML Source in Google Chrome

  • Web Browsers
  • Today's news
  • Reviews and deals
  • Climate change
  • 2024 election
  • Newsletters
  • Fall allergies
  • Health news
  • Mental health
  • Sexual health
  • Family health
  • So mini ways
  • Unapologetically
  • Buying guides

Entertainment

  • How to Watch
  • My watchlist
  • Stock market
  • Biden economy
  • Personal finance
  • Stocks: most active
  • Stocks: gainers
  • Stocks: losers
  • Trending tickers
  • World indices
  • US Treasury bonds
  • Top mutual funds
  • Highest open interest
  • Highest implied volatility
  • Currency converter
  • Basic materials
  • Communication services
  • Consumer cyclical
  • Consumer defensive
  • Financial services
  • Industrials
  • Real estate
  • Mutual funds
  • Credit cards
  • Balance transfer cards
  • Cash back cards
  • Rewards cards
  • Travel cards
  • Online checking
  • High-yield savings
  • Money market
  • Home equity loan
  • Personal loans
  • Student loans
  • Options pit
  • Fantasy football
  • Pro Pick 'Em
  • College Pick 'Em
  • Fantasy baseball
  • Fantasy hockey
  • Fantasy basketball
  • Download the app
  • Daily fantasy
  • Scores and schedules
  • GameChannel
  • World Baseball Classic
  • Premier League
  • CONCACAF League
  • Champions League
  • Motorsports
  • Horse racing

New on Yahoo

  • Privacy Dashboard
  • Buying Guides

Tech Buying Advice

  • Best noise-cancelling wireless headphones
  • Best outdoor speakers
  • Best tablets
  • Best wireless earbuds

The New Safari Update Breaks Some Web Pages

Safari 18 is now rolling out on iPhone, iPad, and Mac devices everywhere, and it’s packed with new features. However, you might also run into issues because of something Apple removed: support for JPEG 2000 images.

Safari 18 is included in the iOS 18 , iPadOS 18 , and macOS Sequoia updates that were just released. It adds dozens of new features for users and web developers, most notably Distraction Control for hiding annoying web page elements and a new video viewer, but it also removes a few features that are mostly unused or not in present-day web standards. Apple explained in a blog post, “This helps align browser engines, improve interoperability, and prevent compatibility problems by reducing the possibility that a website depends on something that’s not a web standard.”

The new update removes support for the JPEG 2000 image format . It’s one of many image formats intended to be a successor to the original JPEG image format, with more compression options and support for high dynamic range, but it never caught on with web browsers. JPEG 2000 support was added in Safari 5.0 , which was released in 2010 , and no other web browsers ever added it. WebP and AVIF are now more common in web images, and the original JPEG format is still going strong.

Since JPEG 2000 was never added to other web browsers, most websites never used it for web images. However, some sites use content delivery networks (CDNs) that convert images to different formats depending on the browser to increase loading time— this is usually how you get WebP images in Chrome or Edge. Apple says some of those CDNs provide JPEG 2000 images to Safari users, which won’t load anymore in Safari 18.

Apple said in a blog post, “We have noticed that some Content Deliver Networks (CDN) use User Agent sniffing to provide one file to each UA, offering only JPEG2000 images to Safari — especially on iPhone and iPad. If you expect this might be happening with your site, we recommend testing in Safari 18.0 on both macOS Sequoia and iOS or iPadOS 18.”

This might result in you seeing some broken images on pages with Safari 18. It should be fixed eventually, but in the meantime, you can try loading broken pages in a different web browser.

Source: WebKit Blog

Recommended Stories

Apple halts ipados 18 update for m4 ipad pro after bricking reports.

“We have temporarily removed the iPadOS 18 update for M4 iPad Pro models as we work to resolve an issue that is impacting a small number of devices," Apple told Engadget.

Epic Games Store — and Fortnite — now available on iPad in the EU

Just a day after third-party app stores were officially allowed on the iPad in the European Union, Epic Games announced on X that the Epic Games Store can now be installed on iPadOS. The operating system that powers the iPad, iPadOS, is a late addition to the list of regulated platforms. As a result of the designation, Apple had six months to update iPadOS to make sure that people living in the EU could install alternative app stores.

Apple iPhone 16 event: What to expect from the AI-packed 'Glowtime' show

Apple will hold its annual iPhone event on Monday, Sept. 9. Here's what you can expect from the show.

Apple's latest iOS and iPadOS developer betas include an AI object removal tool for Photos

The latest iOS 18.1 and iPadOS 18.1 developer betas are here, and they include a few new Apple Intelligence features.

Apple Podcasts launches on the web

Apple Podcasts can now be streamed from the web. Apple announced on Monday that its Apple Podcasts app is now available on all major web browsers (Chrome, Edge, Firefox, and Safari) in over 170 countries. The new dedicated web experience aims to make it easier for anyone with a web browser on any device to access podcasts.

Jose Altuve ejected for removing shoe and sock while arguing non-call

You ever got so mad you take your shoe off to make a point?

Amazon taps long-time exec to lead India business as competition intensifies

Amazon has named long-time executive Samir Kumar as the new head of its India consumer business, a month after its domestic business' head resigned amid intensifying competition in the key market. Kumar, who has been with the e-commerce giant for 25 years, will become Country Manager for India, the company said. This role would be in addition to Kumar's existing responsibilities overseeing Amazon's consumer operations in the Middle East, South Africa and Turkey, the company said.

Data Dump Wednesday: 10 stats you need to know for Week 3 | Yahoo Fantasy Forecast

Week 2 has come and gone. Time to set our sights for Week 3. Matt Harmon and Sal Vetri are back for another 'Data Dump Wednesday' by sharing 10 data points you need to know for Week 3 to maximize your fantasy lineups.

Travis Hunter for Heisman, Georgia ranked too high and is Orji starting for Michigan a big deal or not?

Caroline Fenton, Jason Fitz & Adam Breneman talk Travis Hunter’s Heisman odds, concern for Georgia’s offense and Michigan’s new starting QB and pick whether each is a big deal or not so much.

Neuralink's 'breakthrough device' clearance from FDA does not mean it has cured blindness

Neuralink, the Elon Musk-owned brain-computer interface company, on Tuesday received "breakthrough device" clearance from the FDA. The breakthrough devices program at the FDA is a voluntary program that developers can apply to that, if granted, "offers manufacturers an opportunity to interact with FDA experts through several different program options to efficiently address topics as they arise during the premarket review phase." The designation also lines up recipients for priority FDA review.

Discord is rolling out end-to-end encryption for voice and video calls

Discord is rolling out new end-to-end encryption for both audio and video calls on its platform.

Mistral launches a free tier for developers to test its AI models

Mistral AI launched a new free tier to let developers fine-tune and build test apps with the startup's AI models, the company announced in a blog post Tuesday. The startup also slashed prices for developers to access its AI models through API endpoints and added image processing to its free consumer AI chatbot, le Chat. The Paris-based startup, which was recently valued at $6 billion, announced several updates on Tuesday to attract developers.

COVID fall guide: The new variant in town, when to get vaccinated and what to do if you get sick

Experts are eyeing a new variant and are urging at-risk people to get vaccinated.

Gavin Newsom signs AI bills aimed at fighting election deepfakes like those spread by Elon Musk

California Governor Gavin Newsom signed three election-related deepfake bills on Tuesday.

FAA wants to impose more than $630K in fines for SpaceX launch violations

SpaceX faces thousands in fines stemming from two of its 2023 launches.

Springfield's Wittenberg University cancels football game amid threats engulfing town over Haitian immigration

Springfield, Ohio has been subject to at least 33 bomb threats in recent days, according to Gov. Mike DeWine.

Arkansas AD says school needs $12 million more per year in NIL donations to be competitive

"If we can get 10,000 households across the state of Arkansas to give $100 a month all year long, we would be in the NIL game from a football perspective."

Snap’s fifth-generation Spectacles bring your hands into into augmented reality

Snap’s latest augmented reality glasses have a completely new — but still very oversized — design, larger field of view and all-new software that supports full hand tracking abilities.

Snap is redesigning Snapchat and adding new AI powers

Snap is adding a new slate of generative AI-powered features as it begins testing a larger redesign of Snapchat

Harris calls out Trump for pushing baseless claims about Haitian immigrants in Springfield, Ohio: 'It's got to stop'

Vice President Kamala Harris on Tuesday sharply criticized former President Donald Trump and his running mate, Sen. JD Vance, for pushing the baseless claims that Haitian migrants in Springfield, Ohio, have been stealing and eating pets.

iOS 18 is available today, making iPhone more personal and capable than ever

Three iPhone 16 Pro screens show the customizable Home Screen, the redesigned Photos app, and Apple Intelligence accessed by Siri.

More Customization Than Ever

The customizable Home Screen of iOS 18 is shown on iPhone 16 Pro.

The Biggest Photos Redesign

A simplified, single view displays a familiar grid and helpful new collections.

Powerful Ways to Stay Connected in Messages and Phone

On iPhone 16 Pro, a group thread in Messages shows new options for Tapbacks in iOS 18.

Intelligent Categorization in Mail

A user’s Primary view in Mail is shown on iPhone 16 Pro.

Distraction-Free Browsing with Safari

The redesigned Reader in Safari of iOS 18 is shown on iPhone 16 Pro.

The Brand-New Passwords App

Privacy Features Designed to Empower Users

The First Set of Apple Intelligence Features Available Next Month

In Mail, a user selects copy to run through the Apple Intelligence-powered Rewrite tool.

Additional Features

  • In Apple Maps , users can browse thousands of hikes across U.S. national parks and easily create their own custom walking routes, which they can access offline. Users can also save their favorite national park hikes, custom walking routes, and locations to an all-new Places Library, and add personal notes about each spot.
  • Game Mode enhances the gaming experience with more consistent frame rates, especially during long play sessions, and makes AirPods, game controllers, and other wireless accessories even more responsive.
  • Users get new ways to pay with Apple Pay online and in apps on iPhone and iPad. Starting today, eligible U.S. users will be able to redeem rewards with Discover credit cards, 5 as well as apply for loans directly through Affirm, and eligible U.K. users will be able to access installments with Monzo Flex right at checkout when they use Apple Pay. 6 With Tap to Cash, users can send and receive Apple Cash by simply holding their iPhone near another iPhone or Apple Watch. 7 And with the new ticket experience in Apple Wallet , fans can access even more information about their events, such as venue maps, local weather forecasts, recommended Apple Music playlists, and much more. 8
  • In the  Notes app , math formulas and equations entered while typing are solved instantly. New collapsible sections and highlighting make it easier to emphasize what’s important.
  • Calendar becomes even more helpful by showing both events and tasks from Reminders . Users can create, edit, and complete reminders right from Calendar, and the updated month view provides an overview of events and tasks at a glance.
  • In Journal , an all-new insights view helps users keep track of their journaling goals, the ability to search and sort entries makes it easy to enjoy past memories, and a Journal widget lets users quickly start an entry from the Home Screen or Lock Screen. Time spent journaling can be saved as mindful minutes in the Health app, and users can log their state of mind right in Journal.
  • The Home app introduces guest access, providing users with easy ways to grant guests control of locks, garage doors, and security systems; set schedules for when guests can access the home; and more. With convenient updates to the Energy category, the Home app also makes it easier for eligible users to access, understand, and make more informed decisions about their home electricity use.
  • Emergency SOS Live Video allows users to share context through streaming video and recorded media. In the middle of an emergency call, participating emergency dispatchers can send a request for a user to share live video or media from the user’s camera roll over a secure connection, making it easier and faster to get help.
  • Updates coming to AirPods will transform the way users take calls, respond to Siri, and immerse themselves in their favorite games with AirPods 4, AirPods 4 with Active Noise Cancellation, and AirPods Pro 2. Voice Isolation helps the caller’s voice be heard in loud or windy environments, while Siri Interactions allow users to nod or shake their head to respond to Siri announcements. AirPods updates also provide the best wireless audio latency Apple has ever delivered for mobile gaming, and add Personalized Spatial Audio for all AirPods models for even more immersive gameplay.
  • Later this fall, AirPods Pro 2 add a clinical-grade, over-the-counter Hearing Aid capability for users with perceived mild to moderate hearing loss. Based on results from an intuitive, clinically validated Hearing Test users can take from the comfort of their own home using AirPods Pro 2 and a compatible iPhone or iPad, this new feature seamlessly transforms AirPods Pro into a personalized hearing aid set to meet the specific needs of the user, making access to hearing assistance easier than ever at an approachable price point. 9
  • In the Health app , Medical ID has been redesigned to make it even easier for first responders to find the most important information in an emergency. The Health app helps users better understand their data during pregnancy by making adjustments and recommendations to reflect changes in their physical and mental health.
  • The Fitness app on iPhone now offers users the ability to customize the Summary tab, and Apple Fitness+ has been redesigned with personalized workout and meditation recommendations in For You, more powerful search, and enhanced awards for extra motivation.
  • New accessibility features include Eye Tracking, a built-in option for navigating iPhone with just eyes; Music Haptics, a new way for users who are deaf or hard of hearing to experience music using the Taptic Engine in iPhone; Vocal Shortcuts that enable users to perform tasks by making a custom sound; and Vehicle Motion Cues, which helps reduce motion sickness for passengers using iPhone in a moving vehicle. Accessibility features are now available for CarPlay, including Voice Control, Sound Recognition, Color Filters, and Bold Text.

A map of the Congress Trail Hike is shown in Apple Maps on iPhone 16 Pro.

Text of this article

September 16, 2024

iOS 18 is now available, bringing iPhone users around the world new ways to personalize their iPhone with deeper customization to the Home Screen and Control Center; the biggest-ever redesign to Photos, making it even easier to find and relive special moments; and major enhancements to Messages and Mail. Starting next month, iOS 18 will introduce Apple Intelligence, the personal intelligence system that combines the power of generative models with personal context to deliver intelligence that is incredibly useful and relevant while protecting users’ privacy and security. 1

In iOS 18, users can customize their Home Screen in exciting new ways by placing app icons and widgets to frame the wallpaper or create the ideal layout on each page. Users can also choose how the app icons and widgets are presented — light, dark, or with a colored tint — or make app icons appear larger for a new streamlined look. Control Center is redesigned to be even more flexible. Powerful groups of controls — including favorites, media playback, Home controls and connectivity, and the new controls gallery featuring options from third-party apps — can be organized so that they’re always just a swipe away. Users can also access their favorite controls from the Action button, and for the first time, users can change the controls on the Lock Screen or remove them entirely.

The biggest-ever update to Photos makes it easier to find and relive special moments. The beautiful, simplified layout puts the library into a unified yet familiar view. New collections like Recent Days, People & Pets, and Trips automatically keep the library organized with on-device intelligence, so users can spend less time searching and more time enjoying their memories. Users can personalize their experience with a customizable layout that reflects what is most important to them and pin favorite collections to keep them easily accessible.

Messages offers major updates to the ways users express themselves and stay connected. Formatting options like bold, italic, underline, and strikethrough let users better convey tone; all-new text effects bring words, phrases, and sentences to life; emoji and sticker Tapbacks give users endless ways to react in a conversation; and users can compose an iMessage to send later. For times when cellular and Wi-Fi connections aren’t available, Messages via satellite connects users to a satellite in space right from the Messages app to send and receive texts, emoji, and Tapbacks over iMessage and SMS. 2 When messaging contacts who do not have an Apple device, the Messages app now supports RCS for richer media and more reliable group messaging compared to SMS and MMS.

The Phone app helps users stay organized with the ability to record and transcribe live calls, making it easier to recall important details later. 3 Call participants are notified before a recording begins, and transcripts are conveniently saved to the Notes app, allowing users to quickly search and review what was discussed.

Available later this year, categorization in Mail organizes messages to help users stay on top of their inbox. The Primary category lets users focus on the messages that matter most or contain time-sensitive information. Transactions, Updates, and Promotions are grouped by sender in a new digest view that pulls together all relevant emails from a business, allowing users to quickly scan for what’s important in the moment.

Safari is the world’s fastest browser, and with iOS 18, it offers even more capabilities for browsing the web. 4 Highlights intelligently surface key information — like a location’s address, a summary, or more information about a movie, TV show, or song — after a webpage is loaded. The redesigned Reader brings more ways to enjoy articles with a streamlined view, a summary, and a table of contents for longer articles. With Distraction Control, users can hide items on a webpage that they may find disruptive to their browsing, such as sign-in banners or content overlays within a website.

Passwords is a new app built on the foundation of Keychain that makes it even easier for users to access their passwords and see all their credentials — like passwords, passcodes, and verification codes — all in one place. Passwords is backed by incredibly secure end-to-end encryption; seamlessly syncs across devices; and alerts users when a password could be easily guessed, has been used multiple times, or has appeared in a known data leak.

iOS 18 gives users tools to manage who can see their apps, how their contacts are shared, and how their iPhone connects to accessories. Locked and hidden apps offer users peace of mind that information they want to keep private, such as app notifications and content, will not inadvertently be seen by others. Users can now lock an app, and for additional privacy, they can also hide an app, moving it to a locked, hidden apps folder. When an app is locked or hidden, content like messages or emails inside the app are hidden from search, notifications, and other places across the system. In addition, iOS 18 lets users share only specific contacts with an app, and developers can offer users a more seamless and private experience when connecting third-party accessories with iPhone.

Apple Intelligence is deeply integrated into iOS 18, harnessing the power of Apple silicon to understand and create language and images, take action across apps, and draw from personal context to simplify and accelerate everyday tasks — all while protecting users’ privacy and security. The first set of Apple Intelligence features will be available next month, delivering experiences that are delightful, intuitive, easy to use, and specially designed to help users do the things that matter most to them.

With Writing Tools, users can refine their words by rewriting, proofreading, and summarizing text nearly everywhere they write, including Mail, Notes, Pages, and third-party apps. In Photos, the Memories feature now enables users to create the movies they want to see by simply typing a description. In addition, natural language can be used to search for specific photos, and search in videos gets more powerful with the ability to find specific moments in clips. The new Clean Up tool can identify and remove distracting objects in the background of a photo — without accidentally altering the subject. And in the Notes and Phone apps, users can record, transcribe, and summarize audio. When a recording is initiated while on a call in the Phone app, participants are automatically notified, and once the call ends, Apple Intelligence generates a summary to help recall key points.

Siri becomes more natural, flexible, and deeply integrated into the system experience. It has a brand-new design with an elegant glowing light that wraps around the edge of the screen when active on iPhone. Users can type to Siri at any time on iPhone, and can switch fluidly between text and voice as they use Siri to accelerate everyday tasks. With richer language-understanding capabilities, Siri can follow along when users stumble over their words and can maintain context from one request to the next. In addition, with Siri’s extensive product knowledge, it can now answer thousands of questions about the features and settings of Apple devices.

With many Apple Intelligence models running entirely on device, as well as the introduction of Private Cloud Compute — which extends the privacy and security of Apple devices into the cloud to unlock even more intelligence — Apple Intelligence represents an extraordinary step forward for privacy in artificial intelligence.

Availability

iOS 18 is a free software update that is available starting today for iPhone Xs and later. For more information, visit apple.com/ios/ios-18 . Some features may not be available in all regions, all languages, or on all iPhone models. For more information, visit apple.com/ios/feature-availability .

  • Apple Intelligence will be available as a free software update. The first set of Apple Intelligence features will be available in beta next month as part of iOS 18.1, iPadOS 18.1, and macOS Sequoia 15.1, with more features rolling out in the months to come. It will be available on iPhone 16, iPhone 16 Plus, iPhone 16 Pro, iPhone 16 Pro Max, iPhone 15 Pro, iPhone 15 Pro Max, and iPad and Mac with M1 and later, with device and Siri language set to U.S. English. Additional languages and platforms are coming over the course of the next year. Later this year, Apple Intelligence will add support for localized English in Australia, Canada, New Zealand, South Africa, and the U.K. In the coming year, Apple Intelligence will expand to more languages, like Chinese, French, Japanese, and Spanish.
  • Apple’s satellite features are included for free for two years starting at the time of activation of a new iPhone 14 or later. For Emergency SOS via satellite availability, visit support.apple.com/en-us/HT213426 . Messages via satellite will be available in the U.S. and Canada in iOS 18. SMS availability will depend on carrier. Carrier fees may apply. Users should check with their carrier for details. Satellite network provided by Globalstar Inc. and its affiliates or third-party network providers.
  • Call recording and transcription will be available later this year. Transcription will be available in English (U.S., Australia), Spanish (U.S., Mexico), Mandarin Chinese (China mainland), Cantonese (Hong Kong), and Korean (South Korea).
  • Testing was conducted by Apple in August 2024. See apple.com/safari  for more information.
  • Redemptions used with Discover credit cards will be reflected as a statement credit on a customer’s account.
  • These new Apple Pay features are offered by participating lending providers in certain markets. Subject to eligibility and approval. More issuers and lenders to come in the future.
  • Apple Cash services are provided by Green Dot Bank. Member FDIC. Apple Payments Services LLC, a subsidiary of Apple Inc., is a service provider of Green Dot Bank for Apple Cash accounts. Neither Apple Inc. nor Apple Payments Services LLC is a bank. Learn more about the Terms and Conditions . Only available in the U.S. on eligible devices.
  • Ticket enhancements in Apple Wallet are available for events from participating ticket issuers.
  • Coming this fall, the Hearing Test and Hearing Aid features will be available in more than 100 countries and regions — including the U.S., Germany, and Japan — where marketing authorization has been received. The Hearing Test and Hearing Aid features are intended for people 18 years old or older, and the Hearing Aid feature is intended for people with perceived mild to moderate hearing loss. The Hearing Test and Hearing Aid features will be supported on AirPods Pro 2 with the latest firmware paired with a compatible iPhone or iPad with iOS 18 or iPadOS 18 and later.

Press Contacts

Nadine Haija

[email protected]

Tania Olkhovaya

[email protected]

Apple Media Helpline

[email protected]

Images in this article

IMAGES

  1. How to View Web Page Source on iPhone/iPad: 7 Methods

    ipad safari view page source

  2. How to view web page source in Safari on iPad or iPhone

    ipad safari view page source

  3. How to View Web Page Source on iPhone/iPad: 7 Methods

    ipad safari view page source

  4. How to View Web Page Source on iPhone/iPad: 7 Methods

    ipad safari view page source

  5. How to “View Source” from Safari on an iPad or iPhone

    ipad safari view page source

  6. View Source In iPhone, iPad Safari On iOS 8 With This Extension

    ipad safari view page source

VIDEO

  1. iPad Safari

  2. SAFARI VIEW LUXURY CAMP SERENGETI

  3. How to Find Text on Page on Safari on iPhone

  4. Using Safari on the iPad

  5. How To View Page Source in Safari

  6. Safari Cannot Open the Page Because the Address Is Invalid • FIXED

COMMENTS

  1. How to View Web Page Source on iPhone/iPad: 7 Best Methods

    2. View Page Source Using a Bookmark Script. In this method, you'll create a bookmark and the URL will be a view source script. When you browse any web page and need to view the page source on Safari, simply tap the bookmark. You'll get an HTML source code for the page. Here's how it's done:

  2. How to view webpage HTML source codes on iPad / iPhone ...

    8 Easy Steps to see HTML source codes. Tap Safari (iPhone, iPod, or iPad), if it is not already open, and visit this page. This method also works for Chrome. Choose the Name Field and hit the X icon to clear it and name it "Show Page Source" and then tap "Save.".

  3. Viewing the HTML Source Code in Safari

    View Source Code in Safari. Showing source code in Safari is easy: Open Safari. Navigate to the web page you would like to examine. Select the Develop menu in the top menu bar. Select the Show Page Source option to open a text window with the HTML source of the page. Alternatively, press Option+Command+U on your keyboard.

  4. How to view page source in Safari browser on an iPhone?

    4. Mobile Safari can call other programs to "View Source" via the share functionality in iOS / iPadOS. To transform your web page into source, install an app that has this functionality (e.g. View Source - HTML, JavaScript and CSS), click the share button in the middle of screen footer (the icon depicts an arrow out from a square).

  5. How to view web page source in Safari on iPad or iPhone

    Here's how you get it set up: 1. Navigate to this web page on your iPad or iPhone. 2. Open the file in this link - iPad View Source Bookmarklet and then select all and copy to the clipboard. It is in a seperate text file so that your browser doesn't try to change any of the actual text. 3.

  6. How to View Web Page Source Code on iPhone: 5 Ways

    Safari bookmark trick to view page source. 4. Use Google's webpage cache to view source. 5. Use View Source application. 1. Use Web Inspector Safari extension on iPhone. There is a new Safari extension available for iPhone and iPad which comes by the name Web Inspector. It is recently launched after the iOS 15 update.

  7. How to View Web Page Source Code on Your iPhone or iPad

    Once you've installed it, you can access using the Share menu in Safari, which has really turned into the extensions menu at this point. Once there, press the More button on the second row. Then flip the View Source toggle to enabled. And now you'll have a View Source button in the drop-down menu. Which, naturally, will let you view the source.

  8. How to view HTML source code in Safari

    You may want to view the HTML source of a web page. This short tutorials explains how to view the source of a webpage: 1. Safari menu > Preferences > Advanced. 2. Check "Show Develop menu in menu bar". Close Safari's preferences. 3. Develop menu > Show Page Source OR right click your mouse and select "Show Page Source".

  9. How to View Page Source on Safari

    Enabling the Develop Menu in Safari. Before we can view the page source in Safari, we must first activate the Develop menu. The Develop menu provides many features for web developers and allows us to view page source with ease. Accessing Safari Preferences. To activate the Develop menu, click on Safari in the menu bar and select Preferences.

  10. How To View Page Source On Safari

    Select "Show Page Source": In the Develop menu, hover your cursor over the "Show Page Source" option. This will display a list of web pages currently open in Safari. Click on the web page for which you want to view the page source. Alternatively, you can right-click on the web page and select "Show Page Source" from the contextual menu.

  11. Tip: How to view webpage HTML on iPad / iPhone

    Step 1: Install a free app from the Apple Store called View Source. The free View Source App in the iPhone and iPad App Store provides a quick, clean, and easily integrated into iOS. Step 2: Load Safari (iPhone, iPod, or iPad), if it is not already open, and visit any web page. Step 3: Click the Share Button (it looks like a box with an arrow ...

  12. View Source for Safari on iOS with Shortcuts

    Here it is in action: There is one major caveat. It doesn't inspect the exact instance of the page you are running, it has to the page in a 3rd party site that I built ( https://www-source.glitch.me) / source - this means that if you are logged in, or there is any state that is shared (such as cookies) then it will not display the same content ...

  13. How to View Website Page Source on iPhone or iPad

    How to view website page source information on your iPhone or iPad? In this tutorial, I show you how to easily view web page HTML or CSS from your mobile de...

  14. View Source from Safari on iPad

    Visit this page using Safari on your iPad. 2. Use your touch selection skills to copy the following line of javascript: 3. Tap + then Add Bookmark (Note, you can not bookmark a blank tab, so you must visit another web page first to do this. 4. The first text field is the Title field. Change the title to View Source.

  15. How To View Page Source On Tablet

    Google Chrome: 1. Open the Chrome browser on your Android tablet and navigate to the website you want to view the page source of. 2. Once the webpage loads, tap on the three-dot menu icon located in the upper-right corner of the screen. 3. In the menu that appears, tap on "More tools" and then select "Developer tools".

  16. How to view page source in iOS

    Step 1: In Safari, Chrome, Firefox etc on your iPad or iPhone, on any page (even this one) use the 'Send to' symbol to set a bookmark. Step 2: Delete the name of the page, and rename the bookmark 'Page Source'. Step 3: Edit the bookmark, and replace the URL with this code:

  17. View Webpage Source Code Using Safari On iPhone, iPad or Mac

    Viewing the page source using Safari browser on Mac can be done in three ways: Right-click on a webpage and choose "Show Source Code" and it will display in the new window. While on the web page, press together Option/Alt+Command+U keys. While on any web page, select Develop from Menu bar -> Show Source. View Webpage Source Code on iPhone ...

  18. How to "View Source" from Safari on an iPad or iPhone

    Bookmark this web page (or any other) with Safari on an iPad, iPhone, or iPod touch and name the bookmark as "View Source". Click here to view the bookmarklet javascript and then choose to Select All -> Copy. Tap the Bookmark icon at the Safari new browser screen and tap on "Edit", then tap the bookmark you saved in step 2.

  19. View HTML source code in safari on ipados

    I understand you want to be able to view HTML source code on a web page from Safari on your iPad. I'll be happy to help with this. It doesn't look like this is an option from your iPad. If you want to view this from Safari on a Mac, go to Safari > Preferences > Advanced from the menu bar. Enable Show Develop menu in menu bar:

  20. How to View Page Source in Safari on Mac

    Here is how you can view a web pages source in Safari on MacOS: First, enable the Safari Develop menu by going to the Safari menu, choosing "Preferences", going to "Advanced" and checking the box to enable the developer menu. Next, in any Safari window, navigate to the web page whose source you wish to view and inspect.

  21. How to View Website Source Codes on Your Mobile Devices

    Step 1. Launch the app. Launch the HTML Source Code Viewer app from your Home screen and enter the URL of the website that you want to view the source code of (for this guide, we're using Amazon). Step 2. View the source code. Click the Source Code button. It will show an HTML file with all the source code of the website.

  22. How to Turn on the Develop Menu in Safari on Mac

    How to View Page Source in Safari on Mac Once you've enabled the Develop menu, there are a couple of ways to view the page source in Safari. Open any website in Safari and right-click the blank space on the page. Now, select "Show Page Source." You can also get to this menu by using the keyboard shortcut Option+Command+u.

  23. The New Safari Update Breaks Some Web Pages

    Safari 18 is now rolling out on iPhone, iPad, and Mac devices everywhere, and itâ s packed with new features. ... Source: WebKit Blog. View comments .

  24. iOS 18 is available today, making iPhone more personal and ...

    Distraction-Free Browsing with Safari. Safari is the world's fastest browser, and with iOS 18, it offers even more capabilities for browsing the web. 4 Highlights intelligently surface key information — like a location's address, a summary, or more information about a movie, TV show, or song — after a webpage is loaded. The redesigned ...