← All text tools

BlurHash Generator

Create a BlurHash string and a tiny blurred placeholder image from any picture, or paste a BlurHash to preview what it looks like.

  • Free
  • No sign-up
  • Works on any device

About BlurHash Generator

BlurHash turns a picture into a short string of about 20 to 30 characters that a client can expand into a soft blurred preview while the real image loads. This generator downsizes your picture to at most 100 pixels, runs the BlurHash encoder with the number of horizontal and vertical components you choose (4 by 3 is the common default), and shows the string, the average colour and the decoded placeholder, which you can download or copy as a data URL. A second mode decodes a BlurHash you already have.

How to use BlurHash Generator

  1. Open a picture, or use the built-in gradient, and choose the components (more means more detail and a longer string).
  2. Copy the BlurHash string and store it next to the image in your database or API.
  3. Check the preview, and switch to preview mode any time to paste a hash and see what it decodes to.

Why use this tool?

Also known as

Frequently asked questions

How long is a BlurHash?

It is 4 plus 2 characters per component, so a 4 by 3 hash has 28 characters. Fewer components give shorter strings and softer previews.

Which libraries can decode the string?

Official and community decoders exist for JavaScript, Swift, Kotlin, Python and more, and they all rebuild the same blurred preview from the string.

Why shrink the picture first?

The encoder looks at every pixel, so a 100 pixel version gives nearly the same hash far faster. The library authors recommend small input for this reason.

Is BlurHash Generator free?

Yes. BlurHash Generator on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.