# Examples

> Part of the NocoDB documentation (Workflows > Scripts). Index of all pages: https://nocodb.com/llms.txt. Any docs page is available as Markdown by adding `.md` to its URL.

URL: https://nocodb.com/docs/workflows/scripts/examples
Last updated: 2026-10-03

Ready-to-use NocoDB script examples that automate tasks and clean up data in your bases.

Use these ready-to-use scripts to automate repetitive tasks, clean up data and do more in your NocoDB workspace.

### [Find and Replace](/docs/workflows/scripts/examples/find-and-replace)

Find a specific value in a field and replace it with a different value. Use it to correct inconsistent data or to rename many entries at once.

### [Convert Attachments to URLs](/docs/workflows/scripts/examples/convert-attachments-to-urls)

Convert attachment fields into comma-separated lists of URLs. External services can then use these URLs.

### [Randomize Values](/docs/workflows/scripts/examples/randomize-values)

Fill empty fields with random data. It supports many data types, and you can set ranges and constraints.

### [Validate Emails](/docs/workflows/scripts/examples/validate-emails)

Find and list all invalid email addresses in email fields. Use it to check data quality.

### [Select Options](/docs/workflows/scripts/examples/select-options)

List all options that your records use in a single or multi-select field. Use it to analyze how a select field is used, or to clean up unused options.

### [Save View Ordering](/docs/workflows/scripts/examples/save-view-ordering)

Save the current record order of a view into a numeric field. Use it to keep a manual sort order or to create custom rankings.

### [Link Records by Field](/docs/workflows/scripts/examples/link-records-by-field)

Link records in two tables when the values in the selected fields match. It supports pagination and shows a summary of the results.

### [Unique Field Values Summary](/docs/workflows/scripts/examples/unique-field-values-summary)

Scan a field and show a summary of all unique values and how often each occurs. Use it for audits, cleanup or to analyze field usage.

### [Import CSV](/docs/workflows/scripts/examples/import-csv)

Import data from a CSV file into a table that you select. Use it to quickly fill your database with external data.

---

## Related pages

- [Generic Examples](https://nocodb.com/docs/workflows/scripts/examples/demo.md): NocoDB script examples for fields, records and tables, grouped by category.
- [API Reference Manual Examples](https://nocodb.com/docs/workflows/scripts/examples/api-ref-manual-examples.md): An index of the NocoDB Scripts API reference examples, grouped by category, for common scripting tasks.
- [Find and Replace](https://nocodb.com/docs/workflows/scripts/examples/find-and-replace.md): A NocoDB script that finds and replaces text in any text-based field across records, with a preview and a confirmation.
- [Convert Attachments to URLs](https://nocodb.com/docs/workflows/scripts/examples/convert-attachments-to-urls.md): A NocoDB script that converts attachment fields into comma-separated lists of URLs for external services.
- [Randomize Values](https://nocodb.com/docs/workflows/scripts/examples/randomize-values.md): A NocoDB script that fills empty fields with random data, for many field types, with ranges and constraints that you set.
- [Validate Emails](https://nocodb.com/docs/workflows/scripts/examples/validate-emails.md): A NocoDB script that finds and lists all invalid email addresses in email fields to check data quality.
- [Get Select Options](https://nocodb.com/docs/workflows/scripts/examples/select-options.md): A NocoDB script that lists all options of a Single Select or Multiple Select field in one of three formats.
- [Save View Ordering to Field](https://nocodb.com/docs/workflows/scripts/examples/save-view-ordering.md): A NocoDB script that saves the record order of a view as sequential numbers in a numeric field.
