All ToolsPowerFx Expression Formatter

PowerFx Expression Formatter

Paste a Power Apps PowerFx expression to prettify it with proper indentation and validate it. Detects invalid operators (==, !=), null usage, PA-style function names, and argument count mismatches.

Load Sample

Expression

✓ Valid

Formatted Output

If(
  IsBlank(User().FullName),
  "Guest",
  User().FullName & " (" & User().Email & ")"
)

What this does

If the current signed-in user.FullName is blank, then "Guest"; otherwise the current signed-in user.FullName joined with " (" joined with the current signed-in user.Email joined with ")".

Tips

  • PowerFx uses = for equality (not ==) and <> for not-equal.
  • Strings use double quotes "like this". Single quotes are for column names with spaces: 'My Column'.
  • Use & to concatenate strings: "Hello " & User().FullName.
  • Use Blank() instead of null, and IsBlank() instead of null checks.