Data URL encoder / decoder

Encode a file or plain text into a data URL, or decode a data URL back to its original content. Everything happens in your browser — nothing is uploaded.

Encode

Choose a file, or type/paste plain text below. The data URL will appear in the output field.

Decode

Paste a data URL below to preview or download the original content.