← All Tools

HTTP Content-Type Parser & Builder

Take apart a Content-Type / media-type string into its type, subtype, +suffix, and parameters — or compose one from scratch. Validates the RFC 7231 / RFC 6838 grammar, surfaces the structured-syntax suffix family (+json, +xml, +cbor, …), normalizes charset casing, and generates safe multipart/* boundary tokens.

Boundary tokens may be up to 70 chars from a safe ASCII subset (RFC 2046). This tool only emits characters that never need quoting.

Grammar & common pitfalls