# Lodash Online Utility

Run a safe, curated set of Lodash helpers on JSON input.

> Canonical page: https://elysiatools.com/en/tools/lodash-online-utility

- **Category:** Development

- **Keywords:** lodash, javascript, json, array, object, utility

## Overview

Use JSON input and a JSON argument array with a fixed Lodash allowlist; arbitrary JavaScript is never evaluated.

## Inputs

- **Input JSON** (textarea): \[{"name":"Ada"},{"name":"Grace"}\]
- **Lodash Method** (select)
- **Arguments JSON** (textarea): \[2\] or \["user.name", "Guest"\]

## When to use

- Split, filter, deduplicate, flatten, or compare JSON arrays.
- Read, check, select, group, or reorder values in JSON objects and collections.
- Convert strings between camelCase, kebab-case, and Start Case formats.

## How it works

- Paste a valid JSON value into the Input JSON field.
- Select a Lodash method from the available allowlist.
- Enter method arguments as a JSON array, such as \[2\] or \["user.name", "Guest"\].
- Run the utility and inspect the JSON result, including the selected method and its output.

## Use cases

- Prepare JSON arrays by splitting values into groups, removing duplicates, compacting entries, or flattening nested arrays.
- Inspect and reshape JSON objects by reading nested properties, checking paths, or selecting and omitting fields.
- Standardize labels and organize collections with case conversion, grouping, and ordering methods.

## Frequently asked questions

### What input does the Lodash Online Utility accept?

It accepts JSON input, including arrays, objects, strings, and other valid JSON values.

### How do I provide Lodash method arguments?

Enter the arguments as a JSON array in the Arguments JSON field.

### Which Lodash methods are available?

Available methods include chunk, compact, uniq, flatten, difference, get, has, pick, omit, groupBy, orderBy, camelCase, kebabCase, and startCase.

### Can it execute arbitrary JavaScript?

No. The utility uses a fixed, curated Lodash allowlist and does not evaluate arbitrary JavaScript.

### What format is the result?

The result is returned as JSON.

## Related tools

- [JSON Data Lineage Tracer](https://elysiatools.com/en/tools/json-data-lineage-tracer): Trace JSON field paths, derived dependencies, and transformation history to build a field-level lineage graph
- [JSON Key Renamer](https://elysiatools.com/en/tools/json-key-renamer): Batch rename JSON object keys with support for patterns, rules, and transformations. Perfect for API response formatting and data normalization.
- [JSON Unflattener](https://elysiatools.com/en/tools/json-unflattener): Convert flattened key-value pairs back to nested JSON objects with support for different key formats and data type inference
- [GraphQL Playground](https://elysiatools.com/en/tools/graphql-playground): An in-browser GraphQL client: write queries and variables, send them to any GraphQL endpoint, and inspect formatted JSON results or error arrays — perfect for iterating on schemas during development
- [JSON Schema Validator](https://elysiatools.com/en/tools/json-schema-validator): Validate JSON data against a JSON Schema to verify structure and data types
- [Markdown Table Generator](https://elysiatools.com/en/tools/markdown-table-generator): Generate formatted Markdown tables from CSV, JSON, or array data with alignment, header styles, width control, and merge hints
- [TOML / INI / HCL / .env / Nix / dotenv ⇄ Kubernetes ConfigMap & Secret Config Format Bridge](https://elysiatools.com/en/tools/toml-ini-hcl-envfile-nix-dotenv-kubernetes-configmap-secret-config-format-bridge): Convert configuration files between dotenv .env, TOML, INI, Java .properties, YAML, JSON, HCL (Terraform/Vagrant native syntax) and Nix attribute sets, and emit Kubernetes ConfigMap or Secret manifests. Template placeholders (${VAR}, {{var}}, envsubst) are preserved verbatim, type inference provenance (string/int/float/bool/list) is tracked, HCL block labels fold into nested keys, and a round-trip diff calls out non-equivalent settings — dropped keys, re-typed values and rewrites — instead of coercing them silently.
- [JSON to TypeScript Converter](https://elysiatools.com/en/tools/json-to-typescript): Convert JSON data into TypeScript interfaces or type aliases with union types, optional fields, and nested object inference

## Samples

- [JSON Samples](https://elysiatools.com/en/samples/json): JSON (JavaScript Object Notation) format examples from simple to complex structures
- [Windows Serialization - C# Samples](https://elysiatools.com/en/samples/windows-serialization-csharp): Comprehensive C# serialization examples for Windows platform including JSON, XML, binary serialization, and data transformation
- [Apache Arrow Samples](https://elysiatools.com/en/samples/arrow): Apache Arrow in-memory columnar format examples for high-performance data processing and analytics
- [JWT Samples](https://elysiatools.com/en/samples/jwt-samples): Comprehensive JWT examples from basic token structure to advanced security implementations
