Protobuf Formatter

Format .proto files with aligned fields.

Protobuf Formatter

.proto

Paste text or open a file to see the result.

What it does

Lays out .proto files with even indentation and aligned field definitions. It makes messages and services easier to scan when you check field numbers and types. The definitions stay the same.

About the .proto format

.PROTO file extension

.proto Protocol Buffer File

Developer Files

File Type
Protocol Buffer File
Developer
Google
MIME
text/plain

Protobuf Formatter questions

How do I use the Protobuf 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 .proto 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 .proto page lists programs and converters for it.