UtilityToolsLab

© 2026 UtilityToolsLab. All rights reserved.

Privacy Policy·Terms of Service·Sitemap
HomeCompetitive ProgrammingPath Finder

Related Tools

Code FormatterMatrix GeneratorComplexity CalcBit VisualizerBitmask PlannerPrime FactorsMEX CalcInterval MergerMatrix RotationPBDS GeneratorSegment TreeGraph VisualizerStress TesterModulo CalcBinary VisualizerConvex Hull

Grid / Matrix Path Finder

Paint walls on an N×M grid, set start and end cells, then run BFS to visualize the shortest path. Copy the grid as a C++ 2D vector instantly.

How to Use

  1. 1Open Grid / Matrix Path Finder above. No signup or installation needed.
  2. 2Type or paste your input. Everything runs locally in your browser — nothing leaves your device.
  3. 3See results instantly. Hit Copy to grab the output.
  4. 4Star the tool to save it to Favorites for quick access next time.

Frequently Asked Questions

Is Path Finder free?

Yes, completely free. No sign-up, no credit card, no usage limits.

Do you store my data?

Never. Everything runs 100% in your browser. Nothing is uploaded to any server.

Does it work on mobile?

Yes. All tools are fully responsive and work on phones, tablets, and desktops.

Grid:
Start (S)
End (E)
Wall
Visited
Shortest Path

Copy Grid as C++ 2D Vector

vector<vector<int>> grid = {
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
};
// 0 = empty, 1 = wall