EditSafely

Generate Normal Map from PNG

Build a tangent-space normal map from the brightness of a PNG, in OpenGL or DirectX format.

Runs on your device, nothing uploaded

Drop images anywhere on this page

or paste with Ctrl / ⌘ + V ·

Accepts PNG · several at once

Your PNG files never leave this tab

Generate Normal Map from PNG is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, 200 photos straight off a camera means 1.6 GB uploaded, a wait in somebody's queue, and 240 MB downloaded again. Here it means 0 bytes up and 0 bytes down.

  • No upload
  • No file size limit
  • Works offline once loaded
  • Nothing stored or logged

How to use Generate Normal Map from PNG

  1. 1. Add the source PNG. Drop in a texture or a height map. The tool reads brightness as height, so light areas are treated as raised and dark areas as recessed. Transparent pixels count as the lowest level.
  2. 2. Set strength and format. Raise the strength for deeper relief, smooth the height first to hide pixel noise, and pick OpenGL or DirectX so the green channel matches what your engine expects.
  3. 3. Download the normal map. The bluish map updates on every change. Download the PNG and load it into the normal map slot of a material; flat areas come out as (128, 128, 255).

When to use Generate Normal Map from PNG

Generate Normal Map from PNG measures the slope of the brightness at every pixel with a Sobel filter and stores the resulting surface direction in the red, green and blue channels. A 3D engine then lights the flat texture as if it had real bumps and grooves.

  • Adding relief to a flat game texture. A wall or floor texture looks painted on under dynamic lights. A normal map built from it lets the light pick out every crack and stone edge without extra geometry.
  • Matching the engine's convention. Unreal reads normal maps with the green channel flipped compared to Blender and Unity. Switch between OpenGL and DirectX here instead of fixing the channel by hand.
  • Completing a material set. Only a colour texture exists but the material needs normal, height and occlusion maps. Generate this map, then the height and ambient occlusion maps from the same source.

Examples

Brick wall

Input

bricks.png, strength 2, OpenGL

Output

A bluish normal map where every brick edge catches light

Flat colour

Input

A plain grey PNG

Output

Every pixel is (128, 128, 255): a surface facing straight out

About the Generate Normal Map from PNG tool

Generate Normal Map from PNG does its work locally, right in the browser. Build a tangent-space normal map from the brightness of a PNG, in OpenGL or DirectX format. There is no upload step, no queue and no account, and your data never travels over the network.

It belongs to the PNG Tools collection on EditSafely, a set of 292 small, focused PNG utilities that share the same instant, private workspace.

You can shape the output with 4 settings, including Strength, Smooth height first (blur radius, px), Green channel and Invert height (dark areas raised); the result is redone automatically when you change one. The finished file is put together in browser memory and saved with the Download button, so it never touches a server on the way to your disk. 2 worked examples further down the page show exactly what the tool produces for real inputs.

Running locally also makes the tool fast and dependable: the image is read straight from your device the moment you drop it, there is no server outage that can take it down mid-task, and private pictures stay private.

Frequently asked questions

Does Generate Normal Map from PNG cost anything?

Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.

Are my files uploaded to a server?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

Which files does Generate Normal Map from PNG accept?

It accepts PNG images. There is no file size cap imposed by a server; very large files are limited only by your device's memory.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I save the output?

Click the Download button once the result is ready. The file is built in your browser's memory and handed straight to your downloads folder, without passing through a server.

Related tools

All PNG Tools →