grpcui is a command-line tool that serves a web interface for invoking gRPC methods, browsing schemas via reflection or protosets, and editing requests as forms or JSON.
Overview
grpcui opens an HTTP server that hosts a browser-based UI for gRPC, similar in spirit to REST clients like Postman but oriented around protobuf services. You select services and methods, compose request payloads, set metadata headers, and inspect headers, trailers, and response bodies.
It supports unary and streaming RPCs, presenting entire client and server streams after invocation rather than interactive bidirectional streaming. TLS and mutual TLS options cover secured endpoints, and schema discovery works through server reflection, proto source files, or compiled protoset descriptors.
Library packages let Go developers embed the form UI or a standalone handler in their own HTTP servers. Installation is available via Homebrew, go install, or building from source with make.
The dynamic HTML form adapts to protobuf message shapes, including well-known types, oneofs, and maps, with an alternate JSON editor tab for bulk request entry.
Key features
- Web UI for gRPC method calls
- Schema browsing via reflection or protos
- Request forms and JSON editing
- Metadata headers on calls
- TLS and mutual TLS client options
- Streaming RPC support
- Go libraries for embedding the UI
- Homebrew and Go tool installation
Use cases
- Manual testing of gRPC backends
- Exploring unknown gRPC schemas
- Embedding gRPC consoles in Go services
- Debugging protobuf payloads during development