Description
Decode is a Mac app that converts Xcode Interface Builder files back into Swift source code. You open a Xib or Storyboard file through the File menu, or drag it onto the app icon in the Dock or the welcome screen. Decode then shows the file's XML next to the generated Swift view. You can inspect XML elements and attributes, select lines in the XML to see the matching generated code, and search the generated properties by the unique element ID that Xcode assigns. Semantic highlighting color-codes the properties so related code is easy to spot. When you are happy with the output, you copy part of it or the whole file, either with the copy controls or the floating copy button, and paste it into your Xcode project, adjusting it where needed. Decode runs on macOS 12 or later, on both Intel and Apple Silicon Macs. It is sold on the Mac App Store, and the website offers a demo download so you can try the conversion first.…
Highlights
- Converts .xib and .storyboard files to Swift code
- Side-by-side XML and Swift views
- Search generated properties by Xcode element ID
- Semantic highlighting of generated properties
- Works on macOS 12 and later, Intel or Apple Silicon
Ratings & Reviews
No ratings yet
Be the first to rate Decode.
People also visit
SwiftyJSONAccelerator
macOS app to generate Swift 5 code for models from JSON (with Codeable)

r-huijts/xcode-mcp-server
Xcode integration for project management, file operations and build automation
Neon-Vision-Editor
A native Swift editor for Code and Markdown across macOS, iPadOS, iOS
Decode FAQ
What does Decode do?
It converts Interface Builder files, Xib and Storyboard, into Swift source code that you can use in an Xcode project.
How do I open a file?
Use File, then Open, or drag the Xib or Storyboard file over the app icon in the Dock or the welcome screen.
Can I try it before buying?
Yes. The site offers a demo download, and the full app is sold on the Mac App Store.
What Mac do I need?
macOS 12 or later, on Intel or Apple Silicon.
How do I use the generated code?
Copy part of the code or the whole file with the floating copy button, paste it into your Xcode project, and adjust it if needed.
What are the best Decode alternatives?
Popular alternatives to Decode include Swiftify, Xtool and SwiftyJSONAccelerator. See all Decode alternatives









