amp.base64encode.org
Open in
urlscan Pro
2001:41d0:1008:e6c::
Public Scan
URL:
https://amp.base64encode.org/
Submission: On May 19 via api from LU — Scanned from FR
Submission: On May 19 via api from LU — Scanned from FR
Form analysis
2 forms found in the DOMName: text — POST
<form method="post" name="text" action-xhr="https://amp.base64encode.org/" target="_top"
on="submit:AMP.setState({ 'text_submitting' : true });submit-success:AMP.setState({ 'text_submitting' : false, 'text_to_copy' : event.response.output });submit-error:AMP.setState({ 'text_submitting' : false })" novalidate=""
class="i-amphtml-form amp-form-dirty">
<textarea name="input" id="input" placeholder="Type (or paste) here..." spellcheck="false"></textarea>
<span class="info"><i class="fas fa-info-circle"></i>To encode binaries (like images, documents, etc.) use the file upload form a little further down on this page.</span>
<span class="option"><label for="option_text_charset"><select name="charset" id="option_text_charset">
<optgroup label="Populars">
<option value="UTF-8" selected="">UTF-8</option>
<option value="ASCII">ASCII</option>
<option value="ISO-8859-1">ISO-8859-1</option>
<option value="ISO-8859-2">ISO-8859-2</option>
<option value="ISO-8859-6">ISO-8859-6</option>
<option value="ISO-8859-15">ISO-8859-15</option>
<option value="Windows-1252">Windows-1252</option>
</optgroup>
<optgroup label="Others">
<option value="ArmSCII-8">ArmSCII-8</option>
<option value="BIG-5">BIG-5</option>
<option value="CP850">CP850</option>
<option value="CP866">CP866</option>
<option value="CP932">CP932</option>
<option value="CP936">CP936</option>
<option value="CP950">CP950</option>
<option value="CP50220">CP50220</option>
<option value="CP50221">CP50221</option>
<option value="CP50222">CP50222</option>
<option value="CP51932">CP51932</option>
<option value="EUC-CN">EUC-CN</option>
<option value="EUC-JP">EUC-JP</option>
<option value="EUC-KR">EUC-KR</option>
<option value="EUC-TW">EUC-TW</option>
<option value="GB18030">GB18030</option>
<option value="HZ">HZ</option>
<option value="ISO-2022-JP">ISO-2022-JP</option>
<option value="ISO-2022-KR">ISO-2022-KR</option>
<option value="ISO-8859-3">ISO-8859-3</option>
<option value="ISO-8859-4">ISO-8859-4</option>
<option value="ISO-8859-5">ISO-8859-5</option>
<option value="ISO-8859-7">ISO-8859-7</option>
<option value="ISO-8859-8">ISO-8859-8</option>
<option value="ISO-8859-9">ISO-8859-9</option>
<option value="ISO-8859-10">ISO-8859-10</option>
<option value="ISO-8859-13">ISO-8859-13</option>
<option value="ISO-8859-14">ISO-8859-14</option>
<option value="ISO-8859-16">ISO-8859-16</option>
<option value="JIS">JIS</option>
<option value="KOI8-R">KOI8-R</option>
<option value="KOI8-U">KOI8-U</option>
<option value="SJIS">SJIS</option>
<option value="UCS-2">UCS-2</option>
<option value="UCS-2BE">UCS-2BE</option>
<option value="UCS-2LE">UCS-2LE</option>
<option value="UCS-4">UCS-4</option>
<option value="UCS-4BE">UCS-4BE</option>
<option value="UCS-4LE">UCS-4LE</option>
<option value="UHC">UHC</option>
<option value="UTF-7">UTF-7</option>
<option value="UTF-16">UTF-16</option>
<option value="UTF-16BE">UTF-16BE</option>
<option value="UTF-16LE">UTF-16LE</option>
<option value="UTF-32">UTF-32</option>
<option value="UTF-32BE">UTF-32BE</option>
<option value="UTF-32LE">UTF-32LE</option>
<option value="UTF7-IMAP">UTF7-IMAP</option>
<option value="Windows-1251">Windows-1251</option>
<option value="Windows-1254">Windows-1254</option>
</optgroup>
</select>Destination character set.</label></span>
<span class="option"><label for="option_text_separator"><select name="separator" id="option_text_separator">
<option value="lf">LF (Unix)</option>
<option value="crlf">CRLF (Windows)</option>
</select>Destination newline separator.</label></span>
<span class="option"><label for="option_text_newlines"><input type="checkbox" name="newlines" id="option_text_newlines" [disabled]="text_newlines" on="change:AMP.setState({ 'text_chunks' : event.checked, 'text_newlines' : false })"
i-amphtml-binding=""><span></span>Encode each line separately (useful for when you have multiple entries).</label></span>
<span class="option"><label for="option_text_chunks"><input type="checkbox" name="chunks" id="option_text_chunks" [disabled]="text_chunks" on="change:AMP.setState({ 'text_newlines' : event.checked, 'text_chunks' : false })"
i-amphtml-binding=""><span></span>Split lines into 76 character wide chunks (useful for MIME).</label></span>
<span class="option"><label for="option_text_urlsafe"><input type="checkbox" name="urlsafe" id="option_text_urlsafe"><span></span>Perform URL-safe encoding (uses Base64URL format).</label></span>
<span class="option"><button type="submit" id="submit_text" [disabled]="text_submitting" i-amphtml-binding=""><i class="fas fa-chevron-right"></i>ENCODE<i class="fas fa-chevron-left"></i></button></span>
<div class="state" submitting="">
<template type="amp-mustache">
<i class="fas fa-spinner fa-spin"></i><b>Working...</b><br><i>Please wait until the encoding process completes.</i>
</template>
</div>
<div class="state" submit-success="">
<template type="amp-mustache">
<i class="fas fa-check-circle"></i><b>Success!</b><label for="output">The Base64-encoded data is:</label><textarea name="output" id="output" placeholder="Result goes here..." spellcheck="false"
on="input-debounced:AMP.setState({ 'text_to_copy' : event.value })">{{ output }}</textarea><amp-iframe sandbox="allow-scripts" allow="clipboard-write" layout="fixed-height" height="38" frameborder="0"
src="https://www.base64encode.org/en/copy-mobile.html" [src]="'https://www.base64encode.org/en/copy-mobile.html#data-' + encodeURIComponent(text_to_copy)"><span class="option" placeholder=""><button type="button" class="copy"
disabled=""><i class="fas fa-copy"></i>Copy to clipboard</button></span></amp-iframe>
</template>
</div>
<div class="state" submit-error="">
<template type="amp-mustache">
<i class="fas fa-exclamation-triangle"></i><b>Error!</b><span class="label">Something went wrong:</span>{{ error }}
</template>
</div>
</form>
Name: file — POST
<form method="post" name="file" action-xhr="https://amp.base64encode.org/" target="_top"
on="submit:AMP.setState({ 'file_submitting' : true });submit-success:AMP.setState({ 'file_submitting' : false });submit-error:AMP.setState({ 'file_submitting' : false })" novalidate="" class="i-amphtml-form">
<div class="file">
<span class="detail"><i class="fas fa-file-alt"></i>Click (or tap) here to select a file</span>
<input type="file" name="upload[]" id="upload">
</div>
<span class="info"><i class="fas fa-info-circle"></i>The maximum file size is 192MB.</span>
<span class="option"><label for="option_file_charset"><select name="charset" id="option_file_charset">
<option value="BINARY" selected="">BINARY (no conv.)</option>
<optgroup label="Populars">
<option value="UTF-8">UTF-8</option>
<option value="ASCII">ASCII</option>
<option value="ISO-8859-1">ISO-8859-1</option>
<option value="ISO-8859-2">ISO-8859-2</option>
<option value="ISO-8859-6">ISO-8859-6</option>
<option value="ISO-8859-15">ISO-8859-15</option>
<option value="Windows-1252">Windows-1252</option>
</optgroup>
<optgroup label="Others">
<option value="ArmSCII-8">ArmSCII-8</option>
<option value="BIG-5">BIG-5</option>
<option value="CP850">CP850</option>
<option value="CP866">CP866</option>
<option value="CP932">CP932</option>
<option value="CP936">CP936</option>
<option value="CP950">CP950</option>
<option value="CP50220">CP50220</option>
<option value="CP50221">CP50221</option>
<option value="CP50222">CP50222</option>
<option value="CP51932">CP51932</option>
<option value="EUC-CN">EUC-CN</option>
<option value="EUC-JP">EUC-JP</option>
<option value="EUC-KR">EUC-KR</option>
<option value="EUC-TW">EUC-TW</option>
<option value="GB18030">GB18030</option>
<option value="HZ">HZ</option>
<option value="ISO-2022-JP">ISO-2022-JP</option>
<option value="ISO-2022-KR">ISO-2022-KR</option>
<option value="ISO-8859-3">ISO-8859-3</option>
<option value="ISO-8859-4">ISO-8859-4</option>
<option value="ISO-8859-5">ISO-8859-5</option>
<option value="ISO-8859-7">ISO-8859-7</option>
<option value="ISO-8859-8">ISO-8859-8</option>
<option value="ISO-8859-9">ISO-8859-9</option>
<option value="ISO-8859-10">ISO-8859-10</option>
<option value="ISO-8859-13">ISO-8859-13</option>
<option value="ISO-8859-14">ISO-8859-14</option>
<option value="ISO-8859-16">ISO-8859-16</option>
<option value="JIS">JIS</option>
<option value="KOI8-R">KOI8-R</option>
<option value="KOI8-U">KOI8-U</option>
<option value="SJIS">SJIS</option>
<option value="UCS-2">UCS-2</option>
<option value="UCS-2BE">UCS-2BE</option>
<option value="UCS-2LE">UCS-2LE</option>
<option value="UCS-4">UCS-4</option>
<option value="UCS-4BE">UCS-4BE</option>
<option value="UCS-4LE">UCS-4LE</option>
<option value="UHC">UHC</option>
<option value="UTF-7">UTF-7</option>
<option value="UTF-16">UTF-16</option>
<option value="UTF-16BE">UTF-16BE</option>
<option value="UTF-16LE">UTF-16LE</option>
<option value="UTF-32">UTF-32</option>
<option value="UTF-32BE">UTF-32BE</option>
<option value="UTF-32LE">UTF-32LE</option>
<option value="UTF7-IMAP">UTF7-IMAP</option>
<option value="Windows-1251">Windows-1251</option>
<option value="Windows-1254">Windows-1254</option>
</optgroup>
</select>Destination character set for text files.</label></span>
<span class="option"><label for="option_file_separator"><select name="separator" id="option_file_separator" disabled="" [disabled]="file_separator" i-amphtml-binding="">
<option value="lf">LF (Unix)</option>
<option value="crlf">CRLF (Windows)</option>
</select>Newline separator (for the "encode each line separately" and "split lines into chunks" functions).</label></span>
<span class="option"><label for="option_file_newlines"><input type="checkbox" name="newlines" id="option_file_newlines" [disabled]="file_newlines"
on="change:AMP.setState({ 'file_chunks' : event.checked, 'file_newlines' : false, 'file_separator' : ! event.checked })" i-amphtml-binding=""><span></span>Encode each line separately (useful for when you have multiple entries).</label></span>
<span class="option"><label for="option_file_chunks"><input type="checkbox" name="chunks" id="option_file_chunks" [disabled]="file_chunks"
on="change:AMP.setState({ 'file_newlines' : event.checked, 'file_chunks' : false, 'file_separator' : ! event.checked })" i-amphtml-binding=""><span></span>Split lines into 76 character wide chunks (useful for MIME).</label></span>
<span class="option"><label for="option_file_urlsafe"><input type="checkbox" name="urlsafe" id="option_file_urlsafe"><span></span>Perform URL-safe encoding (uses Base64URL format).</label></span>
<span class="option"><button type="submit" id="submit_file" [disabled]="file_submitting" i-amphtml-binding=""><i class="fas fa-chevron-right"></i>ENCODE<i class="fas fa-chevron-left"></i></button></span>
<input type="hidden" name="isfile" value="1">
<div class="state" submitting="">
<template type="amp-mustache">
<i class="fas fa-spinner fa-spin"></i><b>Working...</b><br><i>Please wait until the encoding process is complete.</i>
</template>
</div>
<div class="state" submit-success="">
<template type="amp-mustache">
<i class="fas fa-check-circle"></i><b>Success!</b><br><a href="https://amp.base64encode.org/download/{{output}}" rel="nofollow" target="_blank">CLICK OR TAP HERE</a> to download the encoded
file.<br><i>Please note that this file is removed from our system immediately after the first download attempt or 15 minutes of inactivity.</i>
</template>
</div>
<div class="state" submit-error="">
<template type="amp-mustache">
<i class="fas fa-exclamation-triangle"></i><b>Error!</b><span class="label">Something went wrong:</span>{{ error }}
</template>
</div>
</form>
Text Content
BASE64Decode and Encode Decode Encode Language: English Español Português Français Deutsch 中文 हिन्दी Русский 한국어 Do you have to deal with Base64 format? Then this site is perfect for you! Use our super handy online tool to encode or decode your data. Ad ENCODE TO BASE64 FORMAT Simply enter your data then push the encode button. To encode binaries (like images, documents, etc.) use the file upload form a little further down on this page. UTF-8ASCIIISO-8859-1ISO-8859-2ISO-8859-6ISO-8859-15Windows-1252ArmSCII-8BIG-5CP850CP866CP932CP936CP950CP50220CP50221CP50222CP51932EUC-CNEUC-JPEUC-KREUC-TWGB18030HZISO-2022-JPISO-2022-KRISO-8859-3ISO-8859-4ISO-8859-5ISO-8859-7ISO-8859-8ISO-8859-9ISO-8859-10ISO-8859-13ISO-8859-14ISO-8859-16JISKOI8-RKOI8-USJISUCS-2UCS-2BEUCS-2LEUCS-4UCS-4BEUCS-4LEUHCUTF-7UTF-16UTF-16BEUTF-16LEUTF-32UTF-32BEUTF-32LEUTF7-IMAPWindows-1251Windows-1254Destination character set. LF (Unix)CRLF (Windows)Destination newline separator. Encode each line separately (useful for when you have multiple entries). Split lines into 76 character wide chunks (useful for MIME). Perform URL-safe encoding (uses Base64URL format). ENCODE Working... Please wait until the encoding process completes. Success!The Base64-encoded data is:{{ output }}Copy to clipboard Error!Something went wrong:{{ error }} ENCODE FILES TO BASE64 FORMAT Select a file to upload and process, then you can download the encoded result. Click (or tap) here to select a file The maximum file size is 192MB. BINARY (no conv.)UTF-8ASCIIISO-8859-1ISO-8859-2ISO-8859-6ISO-8859-15Windows-1252ArmSCII-8BIG-5CP850CP866CP932CP936CP950CP50220CP50221CP50222CP51932EUC-CNEUC-JPEUC-KREUC-TWGB18030HZISO-2022-JPISO-2022-KRISO-8859-3ISO-8859-4ISO-8859-5ISO-8859-7ISO-8859-8ISO-8859-9ISO-8859-10ISO-8859-13ISO-8859-14ISO-8859-16JISKOI8-RKOI8-USJISUCS-2UCS-2BEUCS-2LEUCS-4UCS-4BEUCS-4LEUHCUTF-7UTF-16UTF-16BEUTF-16LEUTF-32UTF-32BEUTF-32LEUTF7-IMAPWindows-1251Windows-1254Destination character set for text files. LF (Unix)CRLF (Windows)Newline separator (for the "encode each line separately" and "split lines into chunks" functions). Encode each line separately (useful for when you have multiple entries). Split lines into 76 character wide chunks (useful for MIME). Perform URL-safe encoding (uses Base64URL format). ENCODE Working... Please wait until the encoding process is complete. Success! CLICK OR TAP HERE to download the encoded file. Please note that this file is removed from our system immediately after the first download attempt or 15 minutes of inactivity. Error!Something went wrong:{{ error }} Bonus tip: Bookmark us! Ad Other tools URL Decode URL Encode JSON Minify JSON Beautify JS Minify JS Beautify CSS Minify CSS Beautify Partner sites Number System Converter Secure Group Chat ABOUT Meet Base64 Decode and Encode, a simple online tool that does exactly what it says: decodes from Base64 encoding as well as encodes into it quickly and easily. Base64 encode your data without hassles or decode it into a human-readable format. Base64 encoding schemes are commonly used when there is a need to encode binary data, especially when that data needs to be stored and transferred over media that are designed to deal with text. This encoding helps to ensure that the data remains intact without modification during transport. Base64 is used commonly in a number of applications including email via MIME, as well as storing complex data in XML or JSON. Advanced options * Character set: Our website uses the UTF-8 character set, so your input data is transmitted in that format. Change this option if you want to convert the data to another character set before encoding. Note that in case of text data, the encoding scheme does not contain the character set, so you may have to specify the appropriate set during the decoding process. As for files, the binary option is the default, which will omit any conversion; this option is required for everything except plain text documents. * Newline separator: Unix and Windows systems use different line break characters, so prior to encoding either variant will be replaced within your data by the selected option. For the files section, this is partially irrelevant since files already contain the corresponding separators, but you can define which one to use for the "encode each line separately" and "split lines into chunks" functions. * Encode each line separately: Even newline characters are converted to their Base64-encoded forms. Use this option if you want to encode multiple independent data entries separated with line breaks. (*) * Split lines into chunks: The encoded data will become a continuous text without any whitespaces, so check this option if you want to break it up into multiple lines. The applied character limit is defined in the MIME (RFC 2045) specification, which states that the encoded lines must be no more than 76 characters long. (*) * Perform URL-safe encoding: Using standard Base64 in URLs requires encoding of "+", "/" and "=" characters into their percent-encoded form, which makes the string unnecessarily longer. Enable this option to encode into an URL- and filename- friendly Base64 variant (RFC 4648 / Base64URL) where the "+" and "/" characters are respectively replaced by "-" and "_", as well as the padding "=" signs are omitted. * Live mode: When you turn on this option the entered data is encoded immediately with your browser's built-in JavaScript functions, without sending any information to our servers. Currently this mode supports only the UTF-8 character set. (*) These options cannot be enabled simultaneously since the resulting output would not be valid for the majority of applications. Safe and secure All communications with our servers come through secure SSL encrypted connections (https). We delete uploaded files from our servers immediately after being processed and the resulting downloadable file is deleted right after the first download attempt or 15 minutes of inactivity (whichever is shorter). We do not keep or inspect the contents of the submitted data or uploaded files in any way. Read our privacy policy below for more details. Completely free Our tool is free to use. From now on, you don't need to download any software for such simple tasks. Details of the Base64 encoding Base64 is a generic term for a number of similar encoding schemes that encode binary data by treating it numerically and translating it into a base-64 representation. The Base64 term originates from a specific MIME-content transfer encoding. Design The particular choice of characters to make up the 64 characters required for Base64 varies between implementations. The general rule is to choose a set of 64 characters that is both 1) part of a subset common to most encodings, and 2) also printable. This combination leaves the data unlikely to be modified in transit through systems such as email, which were traditionally not 8-bit clean. For example, MIME's Base64 implementation uses A-Z, a-z, and 0-9 for the first 62 values, as well as "+" and "/" for the last two. Other variations, usually derived from Base64, share this property but differ in the symbols chosen for the last two values; an example is the URL and filename safe "RFC 4648 / Base64URL" variant, which uses "-" and "_". Example Here's a quote snippet from Thomas Hobbes's Leviathan: "Man is distinguished, not only by his reason, but ..." This is represented as an ASCII byte sequence and encoded in MIME's Base64 scheme as follows: TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCAuLi4= In the above quote the encoded value of Man is TWFu. Encoded in ASCII, the letters "M", "a", and "n" are stored as the bytes 77, 97, 110, which are equivalent to "01001101", "01100001", and "01101110" in base-2. These three bytes are joined together in a 24 bit buffer producing the binary sequence "010011010110000101101110". Packs of 6 bits (6 bits have a maximum of 64 different binary values) are converted into 4 numbers (24 = 4 * 6 bits) which are then converted to their corresponding values in Base64. Text content M a n ASCII 77 97 110 Bit pattern 0 1 0 0 1 1 0 1 0 1 1 0 0 0 0 1 0 1 1 0 1 1 1 0 Index 19 22 5 46 Base64-encoded T W F u As this example illustrates, Base64 encoding converts 3 uncoded bytes (in this case, ASCII characters) into 4 encoded ASCII characters. Switch to desktop version 2010-2024 base64encode.org Privacy policy About us Contact This website uses cookies. We use cookies to personalise content/ads and to analyse our traffic. Privacy User Consent Prompt Focus Prompt