You can do this:

var base64Icon = 'data:image/png;base64,iVBORw0KGgoAAAANS...';
<Image style={{width: 50, height: 50}} source={{uri: base64Icon}}/>

In the base64Icon variable you need to put your base64 data after data:image/png;base64,. Like this:

var base64Icon = 'data:image/png;base64,{PLACE_YOUR_BASE64_DATA_HERE}';
Answer from Sachin Rajput on Stack Overflow
🌐
Bigscal
bigscal.com › cross platform
How do you download base64 images in React Native?
February 11, 2026 - To render base64 images in React Native, employ the ‘Image’ component. Set the ‘Source’ Prop to the base64-encoded image data preceded by “data:image/png;base64,” ‘(or appropriate format). The ‘Image’ component will handle rendering. Customize the component’s dimensions and styling to match your requirements. ... To save base64 images in React, first convert the base64 data to a binary format using functions like the ‘File’ constructor or ‘Blob’ to create a file obh=ject from the binary data.
Discussions

convert base64 to image file using react native - Stack Overflow
i have problem to convert base 64 to image file i only have image base64 and i want to convert that to file because i want to post that file in form data i need to convert base64 to file i get base64 More on stackoverflow.com
🌐 stackoverflow.com
React-Native: Convert image url to base64 string
Bring the best of human thought and AI automation together at your work. Explore Stack Internal ... I'm building a react native app that needs to store images at base64 string format for offline viewing capabilities. More on stackoverflow.com
🌐 stackoverflow.com
In react native, how to convert a base64 image to jpg then save to temp path?
You can use another library, I personally use ImageEditor from: github.com/react-native-community/react-native-image-editor 2020-05-18T08:36:29.95Z+00:00 ... Where is the convertion.... You are just saving e.g. a PNG-base64 to a file with extension of JPG? More on stackoverflow.com
🌐 stackoverflow.com
Does react native support base64 encoded images? - Stack Overflow
Does react native support base 64 encoded images? I tried: More on stackoverflow.com
🌐 stackoverflow.com
People also ask

How do I render base64 images in React Native?
To render base64 images in React Native, employ the ‘Image’ component. Set the ‘Source’ Prop to the base64-encoded image data preceded by “data:image/png;base64,” ‘(or appropriate format). The ‘Image’ component will handle rendering. Customize the component’s dimensions and styling to match your requirements.
🌐
bigscal.com
bigscal.com › cross platform
How do you download base64 images in React Native?
How do I save a base64 image in React?
To save base64 images in React, first convert the base64 data to a binary format using functions like the ‘File’ constructor or ‘Blob’ to create a file obh=ject from the binary data. Finally, you can utilize browser functionality like ‘URL. createObjectURL( )’ to generate a ‘FileSaver.js’ for more advanced options.
🌐
bigscal.com
bigscal.com › cross platform
How do you download base64 images in React Native?
How do I use local images in React without import?
You can use local images in React without importing them by referencing their relative paths directly in the ‘src’ attribute of the ‘img’ tag. This approach will suit images placed within your project’s public directory. Remember that it might not offer the same optimization level as importing and won’t provide features like automatic resizing or transformations. Always consider your project’s requirements and performance implications when using this approach.
🌐
bigscal.com
bigscal.com › cross platform
How do you download base64 images in React Native?
🌐
Stack Overflow
stackoverflow.com › questions › 66745678 › how-to-convert-base64-to-image-in-react-native
how to convert base64 to Image in react native
So how to convert that base64 response into image. and then send this image to server using formdata multipart. ... _onSaveEvent(result) { //result.encoded - for the base64 encoded png //result.pathName - for the file path name console.log(result); ...
🌐
Stack Overflow
stackoverflow.com › questions › 63729232 › convert-base64-to-image-file-using-react-native
convert base64 to image file using react native - Stack Overflow
i have problem to convert base ... to file i get base64 from this code and put base64 to the state · takePhotoFromLibrary = () => { ImagePicker.openPicker({ width: 300, height: 400, cropping: true, includeBase64: true ...
Find elsewhere
🌐
npm
npmjs.com › search
base64-to-image - npm search
A React Native module that allows you to use native UI to select media from the device library or directly from the camera
🌐
Today I Learned
til.hashrocket.com › posts › b209c6ba05-how-to-render-base64-encoded-image-on-react-native
How to Render Base64 Encoded Image on React Native - Today I Learned
March 29, 2023 - const encodedData = 'R0lGODlhAQABAIAAAAAA...7'; <Image source={{uri: `data:image/gif;base64,${encodedData}`}} /> Tweet · #react · permalink · raw · 62 · See More #react TILs · Looking for help?
🌐
StackBlitz
stackblitz.com › edit › react-base64-image
React Base64 Image - StackBlitz
Starter project for React apps that exports to the create-react-app CLI.
🌐
npm
npmjs.com › package › react-native-image-base64
react-native-image-base64 - npm
If you encounter OOM errors on ... on Android might cause very high memory usage. npm install react-native-image-base64 --save or yarn add react-native-image-base64...
      » npm install react-native-image-base64
    
Published   Dec 16, 2019
Version   0.1.4
Top answer
1 of 6
133

I think Ramsay is wrong, react native have a fully support on base64 image. I found this

https://facebook.github.io/react-native/docs/tabbarios.html

this is a official example of how to create a iOS TabBarController, and they use a base64 image as one of the TabBar's icon.

I think you did not specify the width and the height in the style property of the <Image/>.

I tried to use your base64 image in my React Native Playground, and it works.

Usage

var base64Icon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAwBQTFRF7c5J78kt+/Xm78lQ6stH5LI36bQh6rcf7sQp671G89ZZ8c9V8c5U9+u27MhJ/Pjv9txf8uCx57c937Ay5L1n58Nb67si8tVZ5sA68tJX/Pfr7dF58tBG9d5e8+Gc6chN6LM+7spN1pos6rYs6L8+47hE7cNG6bQc9uFj7sMn4rc17cMx3atG8duj+O7B686H7cAl7cEm7sRM26cq/vz5/v767NFY7tJM78Yq8s8y3agt9dte6sVD/vz15bY59Nlb8txY9+y86LpA5LxL67pE7L5H05Ai2Z4m58Vz89RI7dKr+/XY8Ms68dx/6sZE7sRCzIEN0YwZ67wi6rk27L4k9NZB4rAz7L0j5rM66bMb682a5sJG6LEm3asy3q0w3q026sqC8cxJ6bYd685U5a457cIn7MBJ8tZW7c1I7c5K7cQ18Msu/v3678tQ3aMq7tNe6chu6rgg79VN8tNH8c0w57Q83akq7dBb9Nld9d5g6cdC8dyb675F/v327NB6////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/LvB3QAAAMFJREFUeNpiqIcAbz0ogwFKm7GgCjgyZMihCLCkc0nkIAnIMVRw2UhDBGp5fcurGOyLfbhVtJwLdJkY8oscZCsFPBk5spiNaoTC4hnqk801Qi2zLQyD2NlcWWP5GepN5TOtSxg1QwrV01itpECG2kaLy3AYiCWxcRozQWyp9pNMDWePDI4QgVpbx5eo7a+mHFOqAxUQVeRhdrLjdFFQggqo5tqVeSS456UEQgWE4/RBboxyC4AKCEI9Wu9lUl8PEGAAV7NY4hyx8voAAAAASUVORK5CYII=';

and use in this way

<Image style={{width: 100, height: 50, resizeMode: Image.resizeMode.contain, borderWidth: 1, borderColor: 'red'}} source={{uri: base64Icon}}/>
2 of 6
31

Yes it is supporting.

Try below It is tested in iOS and below version "react": "16.9.0", "react-native": "0.61.2",

const base64Image = '...';
<Image source={{uri: `data:image/jpeg;base64,${base64Image}`}} />

If still not working. check type of image i.e. jpeg, png etc.

Hope this help :)

🌐
GitHub
github.com › tommyrharper › react-native-image-base64-png
GitHub - tommyrharper/react-native-image-base64-png: Simple react native library to convert a png image to a base64 string 🌄
If you encounter OOM errors on ... on Android might cause very high memory usage. npm install react-native-image-base64-png --save or yarn add react-native-image-base64-png...
Author   tommyrharper
🌐
YouTube
youtube.com › its coding bro...
How to get base64 with image picker in react native - YouTube
#reactnative #javascript #react #coding #itscodingbro #howto #base64 #imagepicker in this video, we are going to show you how to get base64 from image picker...
Published   May 14, 2023
Views   3K
🌐
Stack Overflow
stackoverflow.com › questions › 64411787 › how-can-i-convert-base64-back-to-an-image › 64412067
How can I convert base64 back to an image?
Copyexport default function dataURLToImage(dataURL: string) { const arr = dataURL.split(","); const str = arr[0].match(/:image\/.+;/); if (str === null) { throw new Error("The string supplied is not a valid data URL"); } const mimetype = str[0]; ...
🌐
Medium
medium.com › @cherifmezdarii › image-upload-base64-to-server-react-native-18488988bf49
Image upload base64 to server: React Native | by mezdari cherif | Medium
January 24, 2025 - First of all, before uploading images to server, we have to upload them to the app, to do so there’s a very popular library called react-native-image-picker.
🌐
GitHub
github.com › LeeKyoungIl › react-native-image-converter
GitHub - LeeKyoungIl/react-native-image-converter: Modify local images by React-native module · GitHub
In the Xcode, in the project navigator and right click Libraries -> Add Files to your project name · Go to node_modules -> react-native-image-converter and add RNImageConverter.xcodeproj · In the Xcode, in the project navigator and select ...
Starred by 5 users
Forked by 3 users
Languages   Java 58.1% | Objective-C 29.8% | JavaScript 9.2% | Ruby 2.9%
🌐
GitHub
github.com › ivpusic › react-native-image-crop-picker › issues › 533
Error while decoding base64 string into image · Issue #533 · ivpusic/react-native-image-crop-picker
December 4, 2017 - Copy the base64 string that return while select image and pate and convert in the following URL
Author   ivpusic
🌐
Medium
medium.com › @Bigscal-Technologies › how-do-you-download-base64-images-in-react-native-89e61c9aa980
How do you download base64 images in React Native? | by Bigscal Technologies | Medium
August 29, 2022 - React Native allows image conversion in your app using the Image component. However, you cannot use this component to convert base64 images. In fact, you cannot use the base64 format for images in React Native without a specific API.
🌐
GitHub
github.com › react › react-native › issues › 33506
Cannot display base64 image in react-native app · Issue #33506 · react/react-native
March 27, 2022 - So, it may be related to the size of the base64 string? The URIs are all appended with data:image/jpeg;base64,${uri}. My Images have a height and width.
Author   react
🌐
GitHub
github.com › SnappFr › react-native-image-base64
GitHub - SnappFr/react-native-image-base64: Simple react native library to convert an image to a base64 string 🌄
February 19, 2026 - If you encounter OOM errors on ... on Android might cause very high memory usage. npm install react-native-image-base64 --save or yarn add react-native-image-base64...
Starred by 49 users
Forked by 28 users
Languages   Java 69.0% | Objective-C 16.3% | Ruby 12.2% | JavaScript 2.5%