Skip to content

Base64 converter is a Visual Studio Code extension that allows you to quickly and securely convert Base64 strings into files. This tool is designed with performance and security in mind, providing an efficient way to handle Base64 data conversion directly from your editor.

License

Notifications You must be signed in to change notification settings

xubylele/base64-converter

Repository files navigation

Base64 converter

Base64 converter is a Visual Studio Code extension that allows you to quickly and securely convert Base64 strings into files and vice versa. With this extension, you can easily convert Base64 strings to popular file formats such as pdf, txt, png, jpg, docx, and more. The extension provides a new graphical interface that simplifies the conversion process and ensures that your data remains secure.

Donations

If you find this extension helpful, consider supporting the developer by buying them a coffee:

Features

  • Fast and Secure Conversion:

    • Convert Base64 strings to files and vice versa quickly and securely.
    • No external dependencies or online services are required, ensuring your data stays secure.
  • Supported File Extensions:

    • Convert Base64 strings into popular file formats such as pdf, txt, png, jpg, docx, and more.
    • Option to specify custom file extensions for less common formats.
  • New Graphical Interface:

    • We have introduced a new user-friendly interface that allows you to easily convert Base64 strings into files and vice versa.
    • The interface includes real-time feedback for successful conversions and automatic clearing of the input field after each operation.

Example Base64 Conversion

Here's a quick example of how you can use the Base64 converter extension to convert a Base64 string into a PNG file: Base64 converter example

Example File to Base64 Conversion

Here's a quick example of how you can use the Base64 converter extension to convert a PNG file into a Base64 string: Base64 converter example

Installation

  1. Open Visual Studio Code.
  2. Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window or press Ctrl+Shift+X.
  3. Search for Base64 converter.
  4. Click Install.

Alternatively, you can install the extension from the Visual Studio Code Marketplace.

Usage

Option 1: Using the Command Palette

  1. Open Visual Studio Code.
  2. Press Ctrl+Shift+P to open the command palette.
  3. Type Base64 converter and select the command.
  4. Enter the Base64 string you want to convert.
  5. Choose the file format you want to convert the Base64 string into.
  6. The file will be saved in the specified location.

Option 2: Using the New Graphical Interface

  1. Open Visual Studio Code.
  2. Run the command Open Base64 Converter View from the command palette or access it from the side panel.
  3. Enter the Base64 string in the input field.
  4. Click Convert to File.
  5. After successful conversion, the file will be saved, and the input field will be cleared automatically.

Supported File Formats

  • Common Formats: pdf, txt, png, jpg, docx.
  • Custom Extensions: You can define any custom file extension by selecting the "Other" option.

Contributing

If you want to contribute to this project, feel free to submit issues or pull requests in the GitHub repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Base64 converter is a Visual Studio Code extension that allows you to quickly and securely convert Base64 strings into files. This tool is designed with performance and security in mind, providing an efficient way to handle Base64 data conversion directly from your editor.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published