Base64 Encoder / Decoder
Encode and decode Base64, with URL-safe mode.
Text to encode
Base64 output
File to Base64
Reads the file as a data URL (MIME prefix included). Everything stays in your browser.
About this tool
Convert text or files to Base64 and back. Toggle URL-safe encoding and copy the result instantly. Runs in your browser.
How to use
- 1Choose Encode or Decode from the tabs.
- 2Paste your text (or a file for Base64) and see the result live.
- 3Toggle URL-safe encoding when the output will go in a URL.
Frequently asked questions
Related tools
URL Query String BuilderBuild and parse URL query strings.Password Hash GeneratorGenerate and compare password hashes.Code DiffDiff two code snippets with word-level detail.UUID GeneratorGenerate UUID v4 and v7 in batches, with prefixes.Base64 Data URI GeneratorTurn text, CSS, JS, JSON, or SVG into a data:<mime>;base64, URI — UTF-8 safe.Cron Next Run CalculatorSee exactly when your 5-field cron expression fires next — to the minute.