The Locolory toolkit / Developer Toolkit

Base64 Encoder, Decoder & Data URI Generator

Encode and decode text, images, and files to Base64 locally in your browser.

What is Base64? Base64 represents binary bytes using a restricted text alphabet so files and UTF-8 data can travel through text-oriented formats.

  • Key formula: Every three source bytes become four Base64 characters; exact encoded length is 4 × ceil(byte length ÷ 3), excluding a Data URI prefix.

No Locolory upload or conversion API call. Selected content remains in browser memory, subject to the security of your device and extensions.

● Processed 100% locally in browser

Base64 workspace

Raw Base64 vs Data URI

Raw Base64 contains only the encoded payload. A Data URI adds a media type and encoding marker so browsers can interpret it.

Large Data URIs increase HTML and CSS size and are often worse than cached files for production delivery.

Safe local file reconstruction

This tool limits selected and decoded data to 20 MB. Only common passive raster images receive an inline thumbnail; SVG and HTML are not actively previewed.

Verify the expected media type and source before opening reconstructed files.

Your input shapes the next update

Spotted something? Tell us.

A short note opens in your email app, ready to send to hello@locolory.store.

What would you like to share?
Have a screenshot? Attach or paste it in the email draft.0/3,000

Good questions. Clear answers.

Does Base64 encryption protect a file?

No. Base64 is reversible binary-to-text encoding, not encryption or access control. Anyone with the encoded value can decode it.

Why is Base64 larger than the original file?

Base64 stores each 3 input bytes as 4 text characters, plus padding when needed. Exact encoded length is 4 × ceil(bytes ÷ 3), approaching roughly 33% overhead for larger files.

Are uploaded files sent to a server?

No conversion request is sent to Locolory. Browser file, text and download APIs process the selected data locally. Device, extension, clipboard and screenshot risks still apply.