What is Base64 repair?
Base64 repair fixes common copy/paste problems: line breaks, spaces, data URL wrappers, URL-safe characters, and missing padding. It cannot restore content that was never copied.
How to use it
- Paste the malformed Base64.
- Choose repaired output only or a report.
- Validate or decode the repaired value.
Example
Input: SGVs bG8td29y bGQ
Output: SGVsbG8td29ybGQ=
Common mistakes
- Repair is not magic. Truncated data remains incomplete.
- Invalid characters may indicate the value is not Base64.
- If the repaired value decodes to binary, use a file or hex decoder.
Related tools
- Check the repaired value with the Base64 validator.
- Normalize format with Base64 normalize.
- Decode text with Base64 to text.
Privacy and security
Repair runs locally in your browser.