This page records the encodings and file signatures implemented in the studio. It is a local reference, not a substitute for the RFCs named in the source list.
Text encodings
Standard Base64 uses A–Z, a–z, 0–9, + and /, with = padding so the length is a multiple of four. An optional MIME wrap inserts a CRLF every 76 characters and is stripped again on decode. JWT-safe Base64URL uses - and _ instead of + and /, and omits padding. URL percent-encoding uses encodeURIComponent and decodeURIComponent on the UTF-8 text. Hexadecimal writes two characters per byte; lowercase is the default, and spaces are ignored when decoding.
Data URI and copy snippets
A Data URI is written as data:<mime>;base64,<payload>. The CSS copy button emits background-image: url("data:…"); and the HTML copy button emits an image tag with an empty alt and width and height when they are known. Restore also accepts a raw Base64 payload without the data: prefix.
Magic-byte detection
PNG starts with 89 50 4E 47, JPEG with FF D8 FF, GIF with 47 49 46 38, and WebP with RIFF … WEBP. SVG is detected from UTF-8 markup that starts with an optional XML declaration and an <svg> root. PDF starts with %PDF-, ZIP with 50 4B 03 04 (and the empty or spanned variants). Valid UTF-8 that parses as JSON is labeled as JSON; other valid UTF-8 is plain text. Anything else is treated as application/octet-stream.
Either. A string that starts with data: is parsed as a Data URI. Anything else is treated as standard Base64, including whitespace and missing padding.
Which file types can be restored?
Any valid Base64 payload can be downloaded. Preview is shown for detected images and SVG, and a text pane is shown for UTF-8 text, JSON, and SVG markup.