Base64 Decoder Online
Decode Base64-encoded strings back to readable text instantly. Paste any Base64 string and get the decoded output. All processing happens locally in your browser.
How Base64 decoding works
Base64 decoding reverses the encoding process: each group of 4 Base64 characters is converted back to 3 bytes of original data. Padding characters (=) at the end indicate the number of missing bytes. The decoded output is the exact original binary data.
Troubleshooting Base64 decode errors
Common decode errors: the input contains characters outside the Base64 alphabet, incorrect padding, or the string was URL-safe Base64 (using - and _ instead of + and /). This tool handles standard Base64 and will flag invalid input with clear error messages.
Frequently Asked Questions
Why is my Base64 string not decoding correctly?
Check for URL-safe Base64 (- and _ instead of + and /), missing padding (= characters), extra whitespace, or non-Base64 characters in the input.
Can Base64 decode binary files?
Yes. Base64 can encode any binary data. This text tool decodes to text (UTF-8). For binary files like images, use a specialized Base64-to-file converter.
Related Convert Tools
OpenAPI to TypeScript
Convert OpenAPI 3.x and Swagger 2.0 specs to TypeScript interfaces and types with $ref resolution, allOf/oneOf/anyOf, enums, and API operation types
JSON to Zod Converter
Convert JSON or JSON Schema to Zod validation schemas with $ref resolution, allOf/oneOf/anyOf, enum, format constraints, and required/optional fields
GraphQL to TypeScript
Convert GraphQL SDL schemas to TypeScript interfaces, types, enums, unions, and operations
TypeScript to JavaScript
Convert TypeScript to JavaScript — strip types, interfaces, enums, generics, and access modifiers to get clean JS output