GenerateRandomSearch

MIME Type Picker

Picks one of fifteen common MIME type strings — for documentation, testing content-type handling, or quick syntax reference.

What this generator does

Draws a common MIME type string. The type and subtype are structured rather than arbitrary — the part before the slash is a broad category and the part after identifies the format — and a real Content-Type header often adds a parameter such as a character set, which none of the fifteen here carries and which is where encoding bugs usually originate.

What you'll get

This generator draws from a hand-checked list of 15 entries. Here is a spread of 6 of them, so you can see the style before you generate:

  • application/json
  • application/xml
  • text/csv
  • image/jpeg
  • audio/mpeg
  • application/octet-stream

A fixed sample of the list, not a live draw — your own results are picked at random from all 15, without repeating until the list runs out. Original authoring for Generate Random.. Last reviewed 2026-07-19.

How to use this tool

  1. Press generate for a random MIME type.

Worked examples

One of the fifteen types
application/x-www-form-urlencoded

Common use cases

  • Testing content-type/MIME handling
  • Documentation examples
  • Quick reference for common types

Limitations and good to know

  • Fifteen types only, all common ones — obscure or vendor-specific MIME types are not in the list.
  • No parameters such as charset or boundary are appended; several real-world content-type headers carry one.

Practical tips

  • Always send a charset with a text type. A text response without one is interpreted differently by different clients, which is the most common source of mojibake in a working system.

Entries are chosen with your browser's cryptographic random number generator, so every entry on the list is equally likely. How Generate Random works.