Documentation

Formatting and history

Format the active cell, resize columns, and undo persisted changes.

Format selected cells

  1. Select a cell, rectangle, or several ranges. Row and column headers select whole rows or columns.
  2. Choose a Font family and Font size, from 8 to 72 px, in the toolbar. Supported families are Arial, Roboto, Georgia, Times New Roman, Courier New, and Verdana.
  3. Choose General, Number, Currency, Percent, or Date in the Number format selector.
  4. Use Bold, Italic, Underline, Strikethrough, Wrap text, or Align left / center / right in the toolbar.
  5. Choose an angle from Text rotation to display cell text between -90° and 90° in 15° steps. Positive angles rise from the cell's lower edge; negative angles fall from its upper edge. Choose 0° for horizontal text.

Use Cell borders to apply Outer borders, Inner borders, All borders, or Clear borders to the selected cells. Outer and inner borders add edges while keeping other existing edges; use Clear borders to remove every edge in the selection. Shared edges appear as one line. Border actions apply to selections of up to 10,000 cells and are undoable.

Use Align top, Align middle, or Align bottom to position cell contents within a taller row.

To copy formatting, select the source cell and choose Paint format with the mouse or keyboard. Then click or select a target cell or range. Supported number, font, color, text emphasis, alignment, wrapping, rotation, and border styles are copied in one undoable change; values, formulas, and row or column sizes stay in place. The painter applies once and turns off after a valid target selection. Press Escape or choose Cancel paint format to stop. Targets over 10,000 cells or containing unloaded imported rows are rejected without a partial update.

Choose Clear formatting to reset the selected cells' font, colors, text emphasis, alignment, wrapping, and rotation to their defaults. It preserves number formats such as Currency and Percent, borders, values, and formulas, including in mixed or disjoint selections. The reset is one undoable change; row and column dimensions remain unchanged and are managed separately. Conditional formatting rules are not currently supported.

Formatting applies to every selected cell as one undoable change. For a mixed selection, a toggle such as Bold shows a mixed state; clicking it turns the setting on for all selected cells. Clicking a toggle that is already on for every selected cell turns it off for all. Color controls report mixed colors; choosing a palette color or a default color applies it to the whole selection. Choosing a number format or alignment sets that value across the selection. Wrapping and underline remain active with each vertical alignment. Selections are limited to 10,000 cells per formatting change. On imported sheets, formatting is rejected if any selected projected row has not loaded yet.

Formatting changes the display and does not replace the raw value or formula. Rotated text stays on one line and is clipped at the cell edges; wrapping is ignored while rotation is nonzero. Text remains horizontal while editing. Adjust row height separately when a rotated label needs more room. Text and fill colors are saved per cell and render for text, numbers, booleans, and formula results. Currency formatting saves a currency code per cell (including USD by default); choose a code from the currency selector shown when Currency is active. Hugtab displays the code explicitly and uses your browser locale for separators and symbol placement. The decimal-place buttons set the exact fractional digit count from 0 to 20 for Number, Currency, and Percent. These settings persist on the cell and apply to numeric values; nulls stay blank and text and booleans stay unchanged. General shows the underlying result without number formatting.

Date formatting interprets date-like values; it is not an Excel serial-date conversion feature. Text that cannot be formatted remains visible as text.

Choose Custom… in Number format to save a bounded custom pattern. Supported patterns start with 0 or #,##0, may add a decimal point followed by 1–20 0/# placeholders, and may end with % (for example #,##0.00 or 0.0%). Grouping and decimal separators follow your browser locale; percent patterns scale the stored number by 100 for display. The pattern applies only to numeric values; blanks stay blank, and text and booleans stay unchanged. The saved pattern and raw values survive reload, and applying one pattern to a selection is a single undoable change. Sections, dates, currency symbols, literals, colors, exponents, fractions, and other Excel/Sheets tokens are not supported; custom number formats are not a lossless Excel format layer.

Adjust dimensions

Drag the right edge of a column header to change its width. To set a custom size, select cells covering the rows or columns you want, choose Row height or Column width in the toolbar, enter a pixel size, then choose Apply. Choose Auto-fit to measure selected columns or row heights; ordinary sheets use their stored cells, while imported, filtered, and sorted views use the fully loaded page containing the active row. Wrapped cells keep their current column width, and row heights account for wrapped content at current column widths. Row heights accept 18–400 px; column widths accept 32–600 px. Each resize or auto-fit applies to every distinct selected row or column as one undoable change. Imported rows must already be loaded. Increase row height when wrapped text needs more room.

Cell styles, column widths, and row heights are saved with the Hugtab workbook. A CSV or XLSX sheet export is a tabular values export and does not preserve these styles or dimensions.

Undo and redo

Use Undo and Redo in the toolbar. An accepted edit is undoable while the browser header still shows Saving…. Saving or retrying storage does not add another undo step. Disabled buttons mean no history is available in that direction. Screen readers identify the toolbar actions as Undo and Redo; each button also exposes its Ctrl/Command keyboard shortcut.

Action Windows / Linux macOS
Undo workbook change Ctrl+Z Command+Z
Redo workbook change Ctrl+Shift+Z Command+Shift+Z

Workbook shortcuts apply outside text inputs. While editing text, the text field's own undo behavior applies. Workbook history includes cell edits, formatting/dimension changes, freeze panes, and row/column hide or show actions; these actions survive normal reloads. Hidden intervals are saved compactly with the sheet and can be restored from the View menu. Making a new change after undo discards the old redo branch.

Cell values and their history command are saved together. A failed database transaction does not leave a partial edit or a new undo step. Formatting and sheet-layout changes use the same transactional history.

Each saved workbook keeps a separate undo/redo history. Switching between local workbooks and reopening one after a reload restores that workbook's history.

Split text also commits its reviewed output as one cell-edit history action. Undo restores the original values and any occupied destination cells; redo reapplies the split.

Numeric-series fills are also one workbook-history action. See editing and sheets for the four directions and seed rules.

Filtering and sorting are view controls; use Clear all in their dialog to reset them. They are not formatting changes to undo.