Objective-C Formatter
Indent Objective-C source files and align their brackets.
What it does
Indents Objective-C files and aligns the square brackets of message calls. Old iOS and macOS code often mixes styles, which makes long calls hard to read. You get the same code with a clear layout.
About the .h format
.H file extension.h C/C++/Objective-C Header File
Developer Files
- File Type
- C/C++/Objective-C Header File
- Category
- Developer Files
- MIME
text/x- c
A header file (.h) is a file that contains the interface of a computer program. It is usually included in the implementation of the program and helps programmers to make use of this software.
Also works with
Related tools
More in Code Formatters
C/C++ Formatter
Indent C and C++ source and header files.
XML Formatter
Indent XML, SVG and RSS and check that they are well formed.
HTML Beautifier
Indent HTML so the nesting of tags is easy to follow.
SQL Formatter
Break long SQL queries into lines and capitalise the keywords.
CSS Beautifier
Put each CSS rule and property on its own line with even indentation.
JavaScript Beautifier
Format minified or messy JavaScript with consistent indentation.
CSS Minifier
Remove comments and whitespace from CSS to make the file smaller.
JavaScript Minifier
Shrink JavaScript by removing comments, whitespace and line breaks.
Objective-C Formatter questions
How do I use the Objective-C Formatter?
Paste the text into the Input box or open a file, set the options, then copy or download the result.
Does renaming a file to .h change its format?
No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .h page lists programs and converters for it.