Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Base64ViewerNew to Visual Studio Code? Get it now.
Base64Viewer

Base64Viewer

Jason Mejane

|
14,402 installs
| (4) | Free
Easy to use Base64 decoder/encoder and viewer
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Base64Viewer

Decode Base64 strings and show the file, and encode files to Base64 strings.

Features

Base64 Decoding

You can decode Base64 strings corresponding to :

  • Plain text - Decoded file/text displayed
  • HTML/CSS/JS - Decoded file/text displayed
  • PDF - Decoded file displayed
  • Images (BMP, GIF, ICO, JPG, PNG, SVG, TIF) - Decoded file displayed
  • Audio (MP3, OGG, WAV)
  • Video (MPEG, OGG, WebM)
  • RAR, ZIP
  • EXE

Other formats might be added in the future. When the Base64 string corresponds to a PDF file, a second column, next to the PDF viewer, is added, showing all text elements and images found in the PDF file. Even if the file can't be displayed (due to VSCode limitations, if it is a video for instance), the decoded file can easily be saved on your computer with the click of a button.

Base64 Encoding

You can encode any file to a Base64 string. When encoding a PDF file, you can switch the view between the Base64 string and a list of text elements and images found in the file. The Base64 string can easily be used by copying it to your clipboard with the click of a button.

Extension Settings

Two commands are available (access them using the command pallete: Ctrl+Shift+P)

  • base64viewer.decodeBase64: Show an input where you can paste the Base64 string to decode
  • base64viewer.encodeBase64: Open a file selection dialog where you can choose a file to encode

The extension supports English and French languages, based on your VSCode set language. More languages might be added in the future.

Demos

Decoding

Decode PDF Demo

Decode Image Demo

Encoding

Encode PDF Demo

Encode Image Demo

Changelog

See CHANGELOG for more information.

Contributing

  • For bugs or feature requests, please see in GitHub Issues
  • Leave a review on the Visual Studio Marketplace extension's page

Known Issues

No known issue

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft