---
title: "Comment by Halil Irmak on \"How to store an image to a database with React using Base 64.\" | Hashnode"
description: "it is not a good idea to store binary in database, instead you can store paths."
url: "https://hashnode.com/posts/how-to-store-an-image-to-a-database-with-react-using-base-64/609b660100bbde79d86a57d6/comment/609c4b2db684eb4cd52c2aa8"
---

[Discussion](https://hashnode.com/posts/how-to-store-an-image-to-a-database-with-react-using-base-64/609b660100bbde79d86a57d6)

Comment [How to store an image to a database with React using Base 64.](https://hashnode.com/posts/how-to-store-an-image-to-a-database-with-react-using-base-64/609b660100bbde79d86a57d6)

[Halil Irmak](https://hashnode.com/@tenclouds)

[May 12, 2021](https://hashnode.com/posts/how-to-store-an-image-to-a-database-with-react-using-base-64/609b660100bbde79d86a57d6/comment/609c4b2db684eb4cd52c2aa8)

it is not a good idea to store binary in database, instead you can store paths.

[Yemi Arigbanla](https://hashnode.com/@yemmyharry)

[May 13, 2021](https://hashnode.com/posts/how-to-store-an-image-to-a-database-with-react-using-base-64/609b660100bbde79d86a57d6/comment/609c4b2db684eb4cd52c2aa8#reply-609c93f247373d4cb055fda7)

Noted with thanks.
