Image Base64 Info
Reads a base64 image string, reports MIME type, payload size, and byte estimate without decoding pixels.
Run tool
Form input
Direct JSON or Markdown
Submit JSON directly or Markdown that can be converted into JSON.
Work steps
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
base64 | base64 | Yes | Base64 image string or data URL |
Outputs
| Name | Type | Description |
|---|---|---|
mime_type | text | Mime type |
byte_length | integer | Byte length |
preview | text | Preview |
work | array | Work |
Sample request
{
"base64": "data:image/x-portable-anymap;base64,UDMKMiAyCjI1NQoyNTUgMCAwICAwIDI1NSAwICAwIDAgMjU1ICAyNTUgMjU1IDI1NQo="
}