Base64 / data URI to image file
image_from_base64Decode Base64 data URIs, CSS url() rules, tags, or raw Base64 into a saved file; detects the real file type and warns if it differs from the declared one.
Instructions
Decode Base64 back into a file: accepts a data URI, a CSS url("data:…") rule, an tag, URL-encoded SVG data URIs, or raw Base64 (standard or URL-safe, line breaks allowed). Detects the real type from the bytes, warns when it differs from the declared one, and writes decoded.. Give the text inline or as a path to a text file. Web version: https://s3eidat.github.io/image-to-base64/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Or: a text file containing it. | |
| text | No | The data URI / CSS / <img> tag / raw Base64. | |
| output | No | Where to write the result: a file path, or a folder ending in "/". Default: the server output folder (a temp folder unless --out-dir is set). |