Is there a free browser photo editor with layers and masks?
Yes. HBN PhotoEditor includes layers, layer groups, layer masks, clipping masks, layer styles, and adjustment and fill layers, with history. It is free and needs no account.
Some Photoshop effects are not available, such as bevel, satin, and pattern effects, and smart filters. Large canvases are limited by your browser's memory.
Edit with layers and masks in PhotoEditor