This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /Salesforce

How to Query All Fields in Salesforce

Updated on:
May 25, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to retrieve every field from a Salesforce object using SOQL.

Quick summary

This demo shows how to query all fields in Salesforce using the Developer Console and a SOQL FIELDS(ALL) statement. In just a few steps, you can retrieve every available field for any Salesforce object without manually listing them.


Steps

  1. Click the gear icon at the top right menu of the Salesforce dashboard.
  2. Select Developer Console from the dropdown menu.
  3. In the new window, navigate to the lower part of the console and click Query Editor.
  4. In the Query text box, type SELECT FIELDS(ALL) FROM <your object name> LIMIT 200.
  5. Click Execute at the bottom left corner of the interface to run the query.
  6. Salesforce will process the request and retrieve all available fields for the selected object.

📌 Why this matters

Querying all fields in Salesforce without writing out every field name individually saves developers and admins significant time when exploring data models or building integrations. The SOQL FIELDS(ALL) function, accessible via the Developer Console, lets you instantly retrieve a complete dataset for any Salesforce object. This is especially valuable during data audits, migration projects, or when onboarding to an unfamiliar Salesforce org. Mastering this technique reduces manual effort and accelerates Salesforce development workflows.
Your product deserves an interactive demo
Start free
Similar Articles
Salesforce

How to Use Salesforce Inspector Reloaded

Madhav Bhandari
Director of Marketing @ Storylane
Salesforce

How to Share Dashboards in Salesforce

Madhav Bhandari
Director of Marketing @ Storylane
Salesforce

How to Send Mass Emails in Salesforce

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Buyer Hub
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Events & webinars
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it