Files Pro.100 tools online
Find a tool
Merge PDFPDF · Collect multiple documents into one PDF.Split PDFPDF · Divide the document into separate files.Extract pagesPDF · Save the required pages as a new PDF.Delete pagesPDF · Remove selected pages from the document.Reorder pagesPDF · Arrange the pages in the correct order.Rotate PDFPDF · Correct the orientation of the selected pages.PDF to imagesPDF · Save pages as PNG or JPEG.Images to PDFPDF · Collect photos and scans into one PDF.Open catalog
Tab - move ↑ ↓ - results Esc - close

How to encode text or file to Base64 and vice versa

Write text or file as a single Base64 string, or recover data from such a string.

Base64 converter: what to add → processing → what happens (TXT, File).

What to prepare

To get Base64, you can paste text or select a file. To convert back, you need a Base64 string.

Procedure

  1. Prepare your text

    To get Base64, paste text or select a file. To get the data back, insert a Base64 string without the beginning of the form data: and without explanation.

  2. Select settings

    Select an action. If you are returning an image or other non-text file from Base64, enable "Decoding result - file". If you are returning plain text, leave the checkbox unchecked: it will be read as UTF-8.

  3. Click the button

    Click "Convert Base64" and wait until it's ready. If an error appears, read the message and check the file, text, or settings.

  4. Save and check

    Check the received text or download decoded.bin. If it is an image or other file, after checking its type, replace .bin with the desired extension, for example .png.

Tool Options

Some fields appear after selecting a mode. The default settings are shown here; They are subject to change on the website.

Action

Get a Base64 string from text or file, or return data from a Base64 string.

Default: Encode

You can choose: Encode · Decode

The result of decoding is a file

Return data as a separate file. Turn it on, for example, for a picture; turn off for UTF-8 text.

Default: Off

Example

Action “Encode”, text without line feed.

Was

hello

It became

aGVsbG8=

Good to know

Base64 does not hide data with a password: such a string can be converted back. If both file and text are selected, the tool will process the file.

Frequently asked questions

Where is the processing performed?

The tool runs on your device, right in your browser. Files and entered text for this operation are not sent to the server.

What to do if the result is not suitable?

Take the original file or text and try other settings in the steps above. Compare the new result with the previous one. The original files on your device remain unchanged.

Open the tool