PEM to base64 converter

Client-side (javascript, no data is sent to server) PEM ("Privacy-enhanced Electronic Mail") format to base64 converter. This basically joins multiple base64 lines, optionally removing PEM header/footer.

PEM source:

Options:

remove PEM header and footer

Output: