Lua String Formatter

Use Lua String Formatter, review the result, and keep the original until the output is checked.

Input Lua String
Lua String Format
Formatted Lua
Formatted Output
Formatted Lua code will appear here...

Lua Format Reference

%s
String
%d
Integer
%f
Float
%q
Quoted
%c
Character
%x
Hex
100% browser-side processing — your data is never uploaded to any server. · Per-tool input limit: 1 MB
100% browser-based No upload to server Free to use

Frequently Asked Questions About Lua String Formatter

Which specifiers are supported?

The common C set: %d %i %o %u %x %X %c %s %q and %f, with width and precision flags.

Does it run my Lua script?

No. Only the format string and arguments are evaluated.