Sunday, January 10, 2010

iPhone Offline Web App Creator (Data URI Base64 Encoder)

Here's an online tool to quickly create iPhone Web Apps that are stored entirely in the URL so that they can be run offline. It encodes the entire web app in a base 64 encoded data URI. Be warned, it might not work for very large Web Apps, it all depends on the iPhone's URL limit.

Data to encode:

Name (optional):

  • You need JavaScript enabled for this to work.
  • If you want it to automatically generate the link for you, enter a name that will be used as the link text.
  • Once you encoded the Web App, simply set it as the href target of a link on your website so that people with iPhones can click on it (e.g. <a href="data:text/html;charset=utf-8;base64,dGVzdA==">My Web App</a>). Then once they opened up the data: url in Safari, they simply need to press the Add button in Safari and choose to add it to their home screen.


  1. This is a really cool idea, but I can't think of what I would want to use this for. Can you give any examples?

  2. This comment has been removed by the author.

  3. Packers and Movers Pune @

    Packers and Movers Mumbai @

    Packers and Movers Hyderabad @

    Packers and Movers Bangalore @

    Packers and Movers Gurgaon @

    Packers and Movers Delhi @

  4. It will be very interesting for the people who will attend. It is also useful especially about social media, people can get information because of this. Thanks for sharing. how to unlock iphone 4s

  5. wish i could open uri in another window without JQUERY