Line Unwrap Tool
Paste a wrapped Base64 string and collapse it into one continuous line, removing the line breaks added by MIME or PEM formatting.
Input
LocalSingle-line output
—About Line Unwrap Tool
The Line Unwrap Tool collapses a wrapped Base64 string into one continuous line, removing line breaks added by MIME or PEM formatting. It is for developers preparing wrapped Base64 for systems that need a single line.
Wrapped Base64 fails in places that expect one unbroken string. Unwrapping it locally produces a continuous line instantly and privately.
Step by step
- Paste a wrapped, multi-line Base64 string.
- The line breaks are removed.
- Review the single continuous line.
- Copy it for use where wrapping is not allowed.
What it offers
- Removes line breaks from wrapped Base64
- Produces one continuous line
- Instant output — Line Unwrap
- Runs in the browser — Line Unwrap
Where it helps
- Preparing a PEM body for a system that wants one line
- Cleaning wrapped Base64 copied from an email
- Joining a multi-line string before decoding
- Normalising data for an API that rejects line breaks
Tips for best results
- Confirm the destination wants an unwrapped line before removing breaks.
- Check for stray spaces if decoding still fails after unwrapping.
- Paste only the Base64 body, not surrounding headers or text.
Pitfalls to watch for
- Leaving other whitespace behind when only line breaks were removed.
- Unwrapping where the standard actually requires wrapped lines.
- Pasting content that mixes Base64 with surrounding text.
Why people use it
Continuous line
One unbroken string ready to use.
Quick cleanup
Strips formatting line breaks.
Private
Processed on your device — Line Unwrap.
Pairs with wrap
Reverse of the line-wrap tool.
Common questions
This runs entirely in your browser
No file or text you enter here is uploaded. Encoding and decoding happen on your device using native browser APIs — close the tab and nothing remains on a server.