Data URI encoder
Encode text or a URL as a data URI and decode one back to text, with MIME type and base64 options, fully offline.
Nothing is fetched over the network: a pasted URL is treated as plain text. Without base64 the payload is percent-encoded, which suits short readable values.