---
title: "Field types in Softr Databases"
description: "Choose the right field type in Softr Databases: text, numbers, dates, files, selects, linked records, formulas and fields that Softr fills in for you."
canonical: "https://docs.softr.io/databases/field-types"
updated: "2026-12-04"
---

# Field types in Softr Databases

A field type decides what a field stores and how Softr checks, shows and uses its values. Pick the type that matches the data: a **Currency** field for money, a **Date** field for dates. Softr Databases has 26 field types, and many field types can also be filled by AI (see [AI fields](/databases/ai-fields)).

When you add a field, Softr lists every type. **AI agent** at the top adds a field that AI fills. See [AI fields](/databases/ai-fields).

![The list of field types that opens when you add a field: AI agent, Short text, Long text, Duration, Button, Select, File, Date, Number, Currency, Percent, Checkbox, URL, Email, Phone number, Rating and Formula, then Related record, Lookup, Rollup and User under Relations, and Created by, Last updated by, Created at, Last updated at, Record ID and Auto number under Record info](/databases/field-types/field-type-list.2x.webp)

Most fields can have a default value for new records.

## Text

| Field            | Stores               | Notes                                                                                                     |
| ---------------- | -------------------- | --------------------------------------------------------------------------------------------------------- |
| **Short text**   | Names, titles, codes | Plain text, up to 1,024 characters                                                                        |
| **Long text**    | Descriptions, notes  | Up to 65,536 characters. Rich text is not available yet                                                   |
| **Email**        | Email addresses      | Checks the format. Up to 320 characters. Opens the mail app when selected                                 |
| **URL**          | Web addresses        | Checks the format. Up to 2,048 characters. Opens in a browser when selected. Can show a shortened link    |
| **Phone number** | Phone numbers        | Accepts many formats without enforcing one. Up to 25 characters. Starts a call on devices that support it |

## Numbers

| Field        | Stores                                | Notes                                                                                                                                 |
| ------------ | ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| **Number**   | Quantities, multipliers               | Integers or decimals. You set the decimal precision and whether negative numbers are allowed                                          |
| **Currency** | Prices, amounts                       | A number with a currency symbol, such as $, € or £, and a decimal precision                                                           |
| **Percent**  | Rates, discounts                      | Shows a percentage sign, or a progress bar. Supports decimal precision                                                                |
| **Rating**   | Scores such as customer reviews       | Shows stars. You set the scale, for example 1 to 10                                                                                   |
| **Duration** | A length of time, such as time logged | You choose the units: milliseconds, seconds, minutes, hours or days. Minutes and hours are on by default, and values show as `0h 00m` |
| **Checkbox** | Yes or no                             | A box you turn on or off. Useful for filtering by status                                                                              |

## Choices and people

| Field      | Stores                                          | Notes                                                                                                         |
| ---------- | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| **Select** | One or several options from a list              | You define the options and give each a color. Values outside the list are not accepted                        |
| **User**   | A Softr collaborator, at workspace or app level | Shows the collaborator's name and photo. Collaborators see only others at or below their own permission level |

![The field editor of a Select field named Status, with its Options outlined: Planned, In progress, Review and Done, each with a color. Below are Allow multi-select and Default option](/databases/field-types/select-field-editor.2x.webp)

_A Select field with colored options._

## Dates

**Date** stores a date, or a date with a time. Use it for fields such as a due date, a booking time or an order date.

- Choose the date format, for example `MM/DD/YYYY`.
- Show the day of the week or the time zone if you want.
- Users pick values with a calendar and a time picker. The value can default to the current date and time.
- Time zones always show in your local time zone. To show another time zone, use a **Formula** field with `DATETIME_FORMAT()`. See [Formula functions](/databases/formulas).

For date display patterns, see [Date and time formatting](/databases/datetime-formatting).

## Files and actions

| Field      | Stores                                                               | Notes                                                                                                                                                              |
| ---------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **File**   | Images, PDFs, documents, audio and other files                       | Turn on **Allow multiple files** to store several files in one record. Files are stored in Softr, and storage depends on your plan. The maximum file size is 64 MB |
| **Button** | A button on every record that runs a [workflow](/workflows/overview) | Pick a workflow or create one from the field settings. The label defaults to "Run". The button stays inactive until you pick a workflow                            |

**Supported file types**

PDF, DOCX, DOC, XLSX, XLS, PPTX, PPT, TXT, CSV, RTF, JPG, JPEG, PNG, GIF, WEBP, SVG, TIFF, TIF, BMP, HEIC, MP4, MP3, WAV, MOV, AVI, WEBM, AAC, M4A, MKV, WMV, HTML, CSS, JS, JSON, XML, ZIP, RAR, 7Z, TAR, GZ, ODT, ODS, ODP, PAGES, NUMBERS, KEY, PSD, AI, INDD, SKETCH, FIG, XD, EPS, TTF, OTF, WOFF, WOFF2, PY, JAVA, PHP, CPP, CS, GO, SWIFT, SQL, STL, OBJ, DWG, DXF, FBX, GLTF, SKP, EPUB, MOBI, AZW, SQLITE, DB, VCF, ICS, SRT

## Relations and calculations

These fields connect tables and compute values. Related records, lookups and rollups are explained in [Linked records, lookups and rollups](/databases/linked-records).

| Field              | Stores                                                      | Notes                                                                          |
| ------------------ | ----------------------------------------------------------- | ------------------------------------------------------------------------------ |
| **Related record** | Links to one or more records of another table               | One-way or reciprocal. Enables lookups and rollups                             |
| **Lookup**         | Values from a linked record                                 | Read-only. Updates when the source changes                                     |
| **Rollup**         | A calculation over linked records, such as a count or a sum | Read-only. Can apply a formula to the rolled-up values                         |
| **Formula**        | A value calculated from other fields                        | Read-only. Updates automatically. See [Formula functions](/databases/formulas) |

## Fields Softr fills in

These fields are set automatically and cannot be edited.

| Field               | Stores                                                                                                                         |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| **Created at**      | The date and time a record is created                                                                                          |
| **Last updated at** | The date and time a record last changed. Can watch specific fields                                                             |
| **Created by**      | The collaborator who created the record                                                                                        |
| **Last updated by** | The collaborator who last changed the record                                                                                   |
| **Auto number**     | A unique number that grows by one for each new record                                                                          |
| **Record ID**       | A unique identifier that no other record in your database shares. Use it to find a record from your apps, workflows or the API |
