🌐
Jayson
jayson.app
Jayson
View the contents of a JSON file as structured data or as syntax highlighted text.
🌐
App Store
apps.apple.com › us › app › json-viewer-simple › id6526147266
Json Viewer Simple App - App Store
View JSON files easily with our fast and intuitive app Discover the most efficient and intuitive way to view your JSON files with our app! Developed to provide the best experience, our app offers several features that make working with JSON files easier: Search: Quickly find any information within your JSON file.
Rating: 5 ​ - ​ 1 votes
🌐
RoutineHub
blog.routinehub.co › how-to-open-and-edit-json-files-on-iphone-using-shortcuts
How to Open and Edit JSON Files on iPhone Using Apple Shortcuts
January 13, 2026 - Working with JSON files can be tricky, especially when you need to edit or explore their structure. Luckily, Apple Shortcuts can simplify this task efficiently. Today, we’ll be discussing two essential shortcuts for handling JSON files on your iPhone or iPad: JSON Viewer and JSON File Editor.
🌐
App Store
apps.apple.com › us › app › jayson › id1447750768
Jayson App - App Store
Jayson is a simple yet powerful JSON viewer and editor with Siri Shortcuts, Share Sheet Actions and URL schemes. Features include: - Browse JSON files stored on your device. - Toggle between viewing JSON in a table or as syntax highlighted text.
Rating: 4.5 ​ - ​ 390 votes
🌐
JSON Formatter
jsonformatter.org › c6c379
iOS
JSON Formatter is very unique tool for formatting JSON, converting to XML, CSV and YAML. It can be used as json validator, json editor and json viewer.
🌐
App Store
apps.apple.com › us › app › json-viewer-json-file-reader › id1490263936
JSON Viewer - Json file reader App - App Store
The best application to open and ... or iPad will no longer be a problem. To use it, touch the JSON file in any application, select "Open with .." And select JSON VIEWER....
Rating: 4.2 ​ - ​ 112 votes
🌐
App Store
apps.apple.com › us › app › json-editor-mobile › id6496686132
JSON Editor Mobile App - App Store
JSON Editor is a beautiful viewer and editor for JSON, JSON5 and JSON Lines data. It allows you to create, visualize, modify, validate, format and save your JSON documents. The app has the smarts needed to make the minimum changes when editing ...
Rating: 4.1 ​ - ​ 9 votes
🌐
App Store
apps.apple.com › us › app › advanced-json-viewer › id6739271287
Advanced JSON Viewer App - App Store
Key Features: • Open JSON Files: Open and view JSON files from your device with powerful formatting • Save JSON Files: Edit and save your JSON data directly to your device • Beautiful JSON Formatting: Instantly transforms unformatted JSON into a clean, readable format • Syntax Highlighting: Makes JSON structure easily readable with color-coded elements • Light & Dark Modes: Automatically switches between themes based on your system preferences • Customizable Themes: Choose from a wide selection of professional color schemes • Interactive Editor: Edit JSON directly in the browser
Rating: 3.3 ​ - ​ 3 votes
🌐
App Store
apps.apple.com › us › app › json-master-editor-viewer › id6757484875
JSON Master: Editor & Viewer App - App Store
Offline-first, pro-ready. JSON Master: The ultimate JSON Viewer, Editor, and Formatter for iOS. Whether you are debugging a complex REST API response or converting structured data between CSV, XML, and Excel, our toolkit provides a desktop-class ...
Rating: 5 ​ - ​ 3 votes
Find elsewhere
🌐
App Store
apps.apple.com › us › app › json-viewer › id6740746338
JSON Viewer ‎ App - App Store
Explore JSON with ease using JSON Viewer, your go-to tool for viewing and editing JSON content effortlessly.
Rating: 1 ​ - ​ 2 votes
🌐
MacStories
macstories.net › home › inspecting json files on ios with jayson
Inspecting JSON Files on iOS with Jayson - MacStories
January 31, 2019 - I’m a big proponent of apps adopting Files’ document browser on iOS and sharing the same working set of documents; I think apps like Jayson, iThoughts, and PDF Viewer are examples other developers should follow. Of course, what makes Jayson special isn’t its approach to file management but how it lets you preview and navigate the contents of JSON files.
🌐
Allbestapps
json-viewer.allbestapps.net › s-ios
Best Json viewer apps for iOS (iPhone/iPad) - AllBestApps
Jayson is a simple yet powerful JSON viewer and editor with Siri Shortcuts, Share Sheet Actions and URL schemes. Features include: - Browse JSON files stored on your device.
🌐
App Store
apps.apple.com › us › app › json-viewer-view-and-edit-json › id6753211473
Json Viewer-View and Edit Json App - App Store
Json Viewer - A professional JSON data viewing and editing tool. Features real-time syntax highlighting, intelligent formatting, and precise data validation, with convenient file management and one-tap sharing.
Rating: 4.8 ​ - ​ 16 votes
🌐
App Store
apps.apple.com › us › app › json-viewer-editor › id6758266023
JSON Viewer & Editor App - App Store
JSON Viewer Editor — A Fast JSON Toolkit A fast, privacy-first JSON viewer and editor built for developers and data-focused users. View, edit, validate, and format JSON — completely offline.
Rating: 0 ​
Top answer
1 of 4
19

to get formatted JSON string.

The solution is to create JSON Object from JSON string,

and then convert the JSON object back to JSON String, using .PrettyPrinted option.

The code is

let jsonString = "[{\"person\": {\"name\":\"Dani\",\"age\":\"24\"}},{\"person\": {\"name\":\"ray\",\"age\":\"70\"}}]"

var error: NSError?

//1. convert string to NSData
let jsonData = jsonString.dataUsingEncoding(NSUTF8StringEncoding)!

//2. convert JSON data to JSON object
let jsonObject:AnyObject = NSJSONSerialization.JSONObjectWithData(jsonData, options: nil, error: &error)!

//3. convert back to JSON data by setting .PrettyPrinted option
let prettyJsonData = NSJSONSerialization.dataWithJSONObject(jsonObject, options: .PrettyPrinted, error: &error)!

//4. convert NSData back to NSString (use NSString init for convenience), later you can convert to String.
let prettyPrintedJson = NSString(data: prettyJsonData, encoding: NSUTF8StringEncoding)!

//print the result
println("\(prettyPrintedJson)")

The result will look like this

2 of 4
4

Objective-C code

NSString *jsonString = @"[{\"person\": {\"name\":\"Dani\",\"age\":\"24\"}},{\"person\": {\"name\":\"ray\",\"age\":\"70\"}}]";
NSData *jsonData = [jsonString dataUsingEncoding:NSUTF8StringEncoding];
id jsonObject = [NSJSONSerialization JSONObjectWithData:jsonData options:nil error:&error];
NSData *prettyJsonData = [NSJSONSerialization dataWithJSONObject:jsonObject options:NSJSONWritingPrettyPrinted error:&error];
NSString *prettyPrintedJson = [NSString stringWithUTF8String:[prettyJsonData bytes]];

NSLog(@"%@", prettyPrintedJson);
🌐
Jsonviewer
jsonviewer.app
JSON Viewer
Easily read JSON with syntax highlighting in a familiar color scheme · Interact · Navigate through large datasets by expanding and collapsing nodes · Format · Prettify or minify JSON in a single click · Validate · Spot invalid syntax with automatic error highlighting ·
🌐
App Store
apps.apple.com › us › app › json-viewer-xml-json-editor › id6742056469
JSON Viewer & XML/JSON Editor App - App Store
This app solves that by bringing all the essential tools into one mobile-first experience—with syntax-aware editing, automatic formatting, tree view navigation, and AI-powered utilities—all in your pocket. The app features a fast and intuitive JSON Viewer that lets you open any JSON data and see it rendered in a clean, collapsible tree structure.
Rating: 0 ​
🌐
App Store
apps.apple.com › us › app › json-formatter-json-viewer › id6754194710
JSON Formatter - JSON Viewer App - App Store
Share Formatted JSON: Export or share your beautified JSON text with others. Smart Lazy Loading: Handle large JSON files smoothly without slowing down your device. File Size Indicator: Know your JSON file size instantly as you type. Built with SwiftUI: Smooth, modern, and lightweight performance optimized for iOS.
Rating: 0 ​
🌐
Apple App Store
apps.apple.com › us › app-bundle › eml-xml-json-file-viewer-pack › id1490684234
‎EML, XML, JSON: File Viewer Pack on the App Store
With EML PRO VIEWER you can: - Open all EML files directly from other applications on your device - Archive your EML files - View messages and attachments within the EML file - Share or print your EML files Privacy Policy: https://www.iuben...
Rating: 4 ​ - ​ 1 votes