Back to Free Tools
FREE TOOLS
Content-Disposition Builder and Parser
Build or parse one Content-Disposition value with explicit ASCII and UTF-8 filename parameters.
Explicit text fields
content-disposition.txt, content-disposition.json
Browser only
Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.
This tool needs JavaScript. If it does not load, refresh the page and try again.
How to use this tool
- Choose build or parse. Build selects inline/attachment with an explicit ASCII fallback and optional Unicode filename; parse uses only the supplied ASCII field value.
- Select Build or inspect disposition. Build emits escaped fallback and optional UTF-8 filename*; parser reports inert quoted-pair data and preferred filename.
- Download content-disposition.txt and content-disposition.json; no HTTP response or local filename is created.
Examples
A Unicode filename is emitted in a UTF-8 filename* parameter with uppercase percent octets.
Limitations
- At most 65536 UTF-8 bytes/UTF-16 units per field, 128 parameters, 1024 filename codepoints and 4096 filename UTF-8 bytes; 256 KiB combined output and 30 seconds.
- Builder refuses slash, backslash and C0/C1/DEL controls in filenames. Parser retains inert quoted escapes, admits UTF-8 extended values only and refuses continuations, unknown extended parameters or duplicate parameter names. Parsed language tags are at most 64 ASCII characters.
- No HTTP response, navigation, local path selection or filesystem-safe-name guarantee.
Related tools
No items found.