just two lines could solve this problem:

import base64
base64_code = "VER30QHI30JFOIAIO3020085723F"  # this is just an example
 
img_data = base64_code.encode()
content = base64.b64decode(img_data)

with open('/path/to/your/image.jpg', 'wb') as fw:
    fw.write(content)
print(content)

then you could check the image bytes.

Answer from dongrixinyu on Stack Overflow
๐ŸŒ
Online Tools
emn178.github.io โ€บ online-tools โ€บ base64_decode.html
Base64 Decode - Online Tools
Decode standard Base64, Base64URL, unpadded, IMAP-style, or custom-alphabet data to text or binary bytes online. Read more ยท Base64 represents arbitrary bytes as printable text by mapping each six-bit value to one character. Standard Base64 and the URL-safe alphabet are specified by RFC 4648. This tool converts encoded text back to bytes and then displays those bytes using the selected output encoding.
๐ŸŒ
Base64 Encode
base64encode.org
Base64 Encode and Decode - Online
Encode to Base64 format or decode from it with various advanced options. Our site has an easy to use online tool to convert your data.
๐ŸŒ
Base64 Decode
base64decode.org
Base64 Decode and Encode - Online
Decode from Base64 format or encode into it with various advanced options. Our site has an easy to use online tool to convert your data.
๐ŸŒ
Online Tools
emn178.github.io โ€บ online-tools โ€บ base64_decode_file.html
Decode Base64 to File - Online Tools
Decode standard, URL-safe, unpadded, IMAP-style, or custom-alphabet Base64 data into a downloadable file online. Read more ยท This tool converts Base64 text back into binary bytes and downloads the result using the filename you provide.
๐ŸŒ
Cryptii
cryptii.com โ€บ pipes โ€บ binary-to-base64
Binary to base64: Convert between bytes and base64 - cryptii
Base64 encoding schemes are used when binary data needs to be stored or transferred as textual data. Therefore 64 characters are chosen that are both members of a subset common to most encodings (ASCII), and also printable.
๐ŸŒ
Base64 Encode
base64encode.net
Base64 Encode - Online Tool
Encode and Decode Base64 data with this online base64 encoder.
๐ŸŒ
Cryptii
cryptii.com โ€บ pipes โ€บ base64-to-hex
Base64 to hex: Encode and decode bytes online - cryptii
Base64 encoding schemes are used when binary data needs to be stored or transferred as textual data. Therefore 64 characters are chosen that are both members of a subset common to most encodings (ASCII), and also printable.
๐ŸŒ
Base64.Guru
base64.guru โ€บ converter โ€บ decode โ€บ file
Base64 to File | Base64 Decode | Base64 Converter | Base64
Decode Base64 to file using the free online decoder, which allows you to preview files directly in the browser, as well as download them, get the hex dump for any binary data, and get summary information about the original file. Please note that the preview is available only for textual values and known media files such as images, sounds, and videos. In any case, you can always convert Base64 to binary and download the result as file, regardless of its MIME type.
Find elsewhere
๐ŸŒ
Base64 Decode and Encode
base64decode.net
Base64 Decode and Encode - Online Tool
Our online Base64 decode tool helps you to convert encoded data that has been encoded using the Base64 encoding scheme into its original form.
๐ŸŒ
Base64converter
base64converter.com
Base 64 Converter
This is a convienent online tool that allows you to convert to and from base64 data. You can encode and decode text, images, spreadsheets, documents - you name it..
๐ŸŒ
Code Beautify
codebeautify.org โ€บ base64-to-binary-converter
Base64 to Binary Converter
This tool supports loading the Base64 File to transform to Binary. Click on the Upload button and select File. Base64 to Binary Online works well on Windows, MAC, Linux, Chrome, Firefox, Edge, and Safari.
๐ŸŒ
FusionAuth
fusionauth.io โ€บ docs โ€บ dev tools โ€บ base64 encoder/decoder
Base64 Encoder/Decoder | FusionAuth Docs
For example, in the Base64 scheme, the word Man is encoded as TWFu. The letters M, a, and n are stored as the bytes 77, 97, 110, which are equivalent to binary representations 01001101, 01100001, and 01101110. These three bytes are joined in a 24-bit buffer producing a binary sequence. Groups of 6 bits are converted ...
๐ŸŒ
Base64Encode.org
base64encode.org โ€บ enc โ€บ array
Base64 Encoding of "array" - Online
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 "_". ... 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.
๐ŸŒ
Fumdum
fumdum.com โ€บ convert โ€บ base64
Convert Base64
Convert to base64, hex, binary, MD5 or SHA256 hash, AES and 3DES encryption and more
๐ŸŒ
Utilities and Tools
utilities-online.info โ€บ base64
Base64 encode and base64 decode online
The base64 converter helps users to easily encode or decode base64 data in no time.
๐ŸŒ
Base64.Guru
base64.guru โ€บ converter
Base64 Converter | Base64
Please note that this Base64 converter supports only โ€œmain standardโ€ and decodes the data in strict mode. Perhaps this option does not suit your needs, and you want to encode text or decode Base64 using other variations of this algorithm. If so, please check the following online convertors.
๐ŸŒ
CodeShack
codeshack.io โ€บ home โ€บ tools โ€บ base64 to decimal converter
Base64 to Decimal Converter - Decode to Bytes or BigInt
Paste your Base64 string into the "Input Base64" box on the left. ... Byte Array: Shows the value of each individual byte (e.g., 72 101 108...). Big Integer: Converts the whole data blob into one large number.
๐ŸŒ
Microsoft Learn
learn.microsoft.com โ€บ en-us โ€บ dotnet โ€บ api โ€บ system.convert.frombase64string
Convert.FromBase64String(String) Method (System) | Microsoft Learn
Dim arr(19) As Integer Dim value As Integer = 1 For ctr As Integer = 0 To arr.GetUpperBound(0) arr(ctr) = value value = value * 2 + 1 Next DisplayArray(arr) ' Convert the array of integers to a byte array. Dim bytes(arr.Length * 4 - 1) As Byte For ctr As Integer = 0 To arr.Length - 1 Array.Copy(BitConverter.GetBytes(arr(ctr)), 0, bytes, ctr * 4, 4) Next ' Encode the byte array using Base64 encoding Dim base64 As String = Convert.ToBase64String(bytes) Console.WriteLine("The encoded string: ") For ctr As Integer = 0 To base64.Length \ 50 - 1 Console.WriteLine(base64.Substring(ctr * 50, If(ctr * 50 + 50 <= base64.Length, 50, base64.Length - ctr * 50))) Next Console.WriteLine() ' Convert the string back to a byte array.