Lua Beautifier

Ln: 1 Col: 0

Ln: 1 Col: 0

Lua Beautifier Online

Lua is a powerful, efficient, lightweight, embeddable scripting language. For more info visit www.lua.org.

Lua Formatter helps to format unformatted or ugly Lua data and helps to save and share Lua.

What can you do with Lua Code Formatter?

  • It helps to beautify your Lua code.
  • This tool allows loading the Lua code URL to beautify. Click on the URL button, Enter URL and Submit.
  • This tool supports loading the Lua code File (.lua) to beautify. Click on the Upload button and Select File.
  • Lua Beautifier Online works well on Windows, MAC, Linux, Chrome, Firefox, Edge, and Safari.

Example of Lua

Lua data Try it.

Rect = {area = 0, length = 0, breadth = 0}

function Rect:new (o,length,breadth)
   o = o or {}
   setmetatable(o, self)
   self.__index = self
   self.length = length or 0
   self.breadth = breadth or 0
   self.area = length*breadth;
   return o

function Rect:printRect ()
   print("The calculated Area of Rect:  ",self.area)

For Advanced Users

Lua External URL

Load Lua External URL in Browser URL like this https://codebeautify.org/lua-beautifier?url=external-url


Related Tools

Recently visited pages